java.lang.Object
swim.math.Z2Shape
swim.math.Z2Point
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
form()
int
hashCode()
boolean
intersects
(Z2Shape shape) final Z2Vector
final Z2Point
static Z2Point
of
(long x, long y) static Z2Point
origin()
final Z2Point
toString()
toValue()
final long
xMax()
final long
xMin()
final long
yMax()
final long
yMin()
Methods inherited from class swim.math.Z2Shape
contains, intersects, shapeForm
-
Field Details
-
x
public final long x -
y
public final long y
-
-
Constructor Details
-
Z2Point
public Z2Point(long x, long y)
-
-
Method Details
-
plus
-
minux
-
minus
-
xMin
public final long xMin() -
yMin
public final long yMin() -
xMax
public final long xMax() -
yMax
public final long yMax() -
contains
-
intersects
- Specified by:
intersects
in classZ2Shape
-
transform
-
toValue
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
origin
-
of
-
form
-