- java.lang.Object
-
- swim.math.Z2Shape
-
- swim.math.BoxZ2
-
-
Constructor Summary
Constructors Constructor Description BoxZ2(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(BoxZ2 that)
boolean
contains(BoxZ2 box)
boolean
contains(PointZ2 point)
boolean
contains(Z2Shape shape)
void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static Z2Form<BoxZ2>
form()
int
hashCode()
boolean
intersects(BoxZ2 box)
boolean
intersects(PointZ2 point)
boolean
intersects(Z2Shape shape)
static BoxZ2
of(long xMin, long yMin, long xMax, long yMax)
String
toString()
Value
toValue()
BoxR2
transform(Z2ToR2Function f)
long
xMax()
long
xMin()
long
yMax()
long
yMin()
-
Methods inherited from class swim.math.Z2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
of
public static BoxZ2 of(long xMin, long yMin, long xMax, long yMax)
-
contains
public boolean contains(PointZ2 point)
-
contains
public boolean contains(BoxZ2 box)
-
intersects
public boolean intersects(Z2Shape shape)
- Specified by:
intersects
in classZ2Shape
-
intersects
public boolean intersects(PointZ2 point)
-
intersects
public boolean intersects(BoxZ2 box)
-
transform
public BoxR2 transform(Z2ToR2Function f)
-
canEqual
protected boolean canEqual(BoxZ2 that)
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-