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