- java.lang.Object
-
- swim.math.R2Shape
-
- swim.math.R2Box
-
-
Constructor Summary
Constructors Constructor Description R2Box(double xMin, double yMin, double xMax, double yMax)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(R2Box that)booleancontains(R2Box box)booleancontains(R2Circle circle)booleancontains(R2Point point)booleancontains(R2Shape shape)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static R2Form<R2Box>form()inthashCode()booleanintersects(R2Box box)booleanintersects(R2Circle circle)booleanintersects(R2Point point)booleanintersects(R2Shape shape)static R2Boxof(double xMin, double yMin, double xMax, double yMax)StringtoString()ValuetoValue()Z2Boxtransform(R2ToZ2Function f)doublexMax()doublexMin()doubleyMax()doubleyMin()-
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
contains
public boolean contains(R2Point point)
-
contains
public boolean contains(R2Box box)
-
contains
public boolean contains(R2Circle circle)
-
intersects
public boolean intersects(R2Shape shape)
- Specified by:
intersectsin classR2Shape
-
intersects
public boolean intersects(R2Point point)
-
intersects
public boolean intersects(R2Box box)
-
intersects
public boolean intersects(R2Circle circle)
-
transform
public Z2Box transform(R2ToZ2Function f)
-
canEqual
protected boolean canEqual(R2Box that)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
of
public static R2Box of(double xMin, double yMin, double xMax, double yMax)
-
-