- java.lang.Object
-
- swim.math.Z2Shape
-
- swim.math.PointZ2
-
-
Constructor Summary
Constructors Constructor Description PointZ2(long x, long y)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(PointZ2 that)
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<PointZ2>
form()
int
hashCode()
boolean
intersects(Z2Shape shape)
VectorZ2
minus(PointZ2 that)
PointZ2
minux(VectorZ2 vector)
static PointZ2
of(long x, long y)
static PointZ2
origin()
PointZ2
plus(VectorZ2 vector)
String
toString()
Value
toValue()
PointR2
transform(Z2ToR2Function f)
long
xMax()
long
xMin()
long
yMax()
long
yMin()
-
Methods inherited from class swim.math.Z2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
origin
public static PointZ2 origin()
-
of
public static PointZ2 of(long x, long y)
-
intersects
public boolean intersects(Z2Shape shape)
- Specified by:
intersects
in classZ2Shape
-
transform
public PointR2 transform(Z2ToR2Function f)
-
canEqual
protected boolean canEqual(PointZ2 that)
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-