- java.lang.Object
-
- swim.math.Z2Shape
-
- swim.math.Z2Box
-
-
Constructor Summary
Constructors Constructor Description Z2Box(long xMin, long yMin, long xMax, long yMax)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Z2Box that)
boolean
contains(Z2Box box)
boolean
contains(Z2Point point)
boolean
contains(Z2Shape 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 Z2Form<Z2Box>
form()
int
hashCode()
boolean
intersects(Z2Box box)
boolean
intersects(Z2Point point)
boolean
intersects(Z2Shape shape)
static Z2Box
of(long xMin, long yMin, long xMax, long yMax)
String
toString()
Value
toValue()
R2Box
transform(Z2ToR2Function f)
long
xMax()
long
xMin()
long
yMax()
long
yMin()
-
Methods inherited from class swim.math.Z2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
contains
public boolean contains(Z2Point point)
-
contains
public boolean contains(Z2Box box)
-
intersects
public boolean intersects(Z2Shape shape)
- Specified by:
intersects
in classZ2Shape
-
intersects
public boolean intersects(Z2Point point)
-
intersects
public boolean intersects(Z2Box box)
-
transform
public R2Box transform(Z2ToR2Function f)
-
canEqual
protected boolean canEqual(Z2Box 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 Z2Box of(long xMin, long yMin, long xMax, long yMax)
-
-