- 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 boolean
canEqual(R2Box that)
boolean
contains(R2Box box)
boolean
contains(R2Circle circle)
boolean
contains(R2Point point)
boolean
contains(R2Shape shape)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static R2Form<R2Box>
form()
int
hashCode()
boolean
intersects(R2Box box)
boolean
intersects(R2Circle circle)
boolean
intersects(R2Point point)
boolean
intersects(R2Shape shape)
static R2Box
of(double xMin, double yMin, double xMax, double yMax)
String
toString()
Value
toValue()
Z2Box
transform(R2ToZ2Function f)
double
xMax()
double
xMin()
double
yMax()
double
yMin()
-
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:
intersects
in 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:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
of
public static R2Box of(double xMin, double yMin, double xMax, double yMax)
-
-