- 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 boolean
contains(T outer, T inner)
abstract double
getXMax(T object)
abstract double
getXMin(T object)
abstract double
getYMax(T object)
abstract double
getYMin(T object)
abstract boolean
intersects(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:
getXMin
in interfaceR2Boundary<T>
-
getYMin
public abstract double getYMin(T object)
- Specified by:
getYMin
in interfaceR2Boundary<T>
-
getXMax
public abstract double getXMax(T object)
- Specified by:
getXMax
in interfaceR2Boundary<T>
-
getYMax
public abstract double getYMax(T object)
- Specified by:
getYMax
in interfaceR2Boundary<T>
-
intersects
public abstract boolean intersects(T s, T t)
- Specified by:
intersects
in interfaceBoundary<T>
-
transformed
public static <T> Z2Form<T> transformed(R2Form<T> form, R2ToZ2Function function)
-
-