- java.lang.Object
-
- swim.math.R2Shape
-
-
Constructor Summary
Constructors Constructor Description R2Shape()
-
Method Summary
Modifier and Type Method Description abstract boolean
contains(R2Shape shape)
boolean
contains(Shape shape)
abstract boolean
intersects(R2Shape shape)
boolean
intersects(Shape shape)
static R2Form<R2Shape>
shapeForm()
abstract Z2Shape
transform(R2ToZ2Function f)
abstract double
xMax()
abstract double
xMin()
abstract double
yMax()
abstract double
yMin()
-
-
-
Method Detail
-
xMin
public abstract double xMin()
-
yMin
public abstract double yMin()
-
xMax
public abstract double xMax()
-
yMax
public abstract double yMax()
-
intersects
public boolean intersects(Shape shape)
- Specified by:
intersects
in interfaceShape
-
contains
public abstract boolean contains(R2Shape shape)
-
intersects
public abstract boolean intersects(R2Shape shape)
-
transform
public abstract Z2Shape transform(R2ToZ2Function f)
-
-