- java.lang.Object
-
- swim.structure.Form<T>
-
- swim.math.R2Form<T>
-
- All Implemented Interfaces:
Boundary<T>,R2Boundary<T>
public abstract class R2Form<T> extends Form<T> implements R2Boundary<T>
-
-
Constructor Summary
Constructors Constructor Description R2Form()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract booleancontains(T outer, T inner)abstract doublegetXMax(T object)abstract doublegetXMin(T object)abstract doublegetYMax(T object)abstract doublegetYMin(T object)abstract booleanintersects(T s, T t)static <T> Z2Form<T>transformed(R2Form<T> form, R2ToZ2Function function)-
Methods inherited from class swim.structure.Form
cast, cast, forArray, forBigInteger, forBoolean, forBuiltin, forByte, forByteBuffer, forCharacter, forClass, forClass, forCollection, forDouble, forFloat, forInteger, forItem, forList, forLong, forMap, forMap, forNumber, forSet, forShort, forString, forValue, isBuiltin, mold, mold, tag, tag, type, unit, unit
-
-
-
-
Method Detail
-
getXMin
public abstract double getXMin(T object)
- Specified by:
getXMinin interfaceR2Boundary<T>
-
getYMin
public abstract double getYMin(T object)
- Specified by:
getYMinin interfaceR2Boundary<T>
-
getXMax
public abstract double getXMax(T object)
- Specified by:
getXMaxin interfaceR2Boundary<T>
-
getYMax
public abstract double getYMax(T object)
- Specified by:
getYMaxin interfaceR2Boundary<T>
-
intersects
public abstract boolean intersects(T s, T t)
- Specified by:
intersectsin interfaceBoundary<T>
-
transformed
public static <T> Z2Form<T> transformed(R2Form<T> form, R2ToZ2Function function)
-
-