java.lang.Object
swim.math.R2Shape
swim.math.R2Point
-
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
(R2Shape shape) final R2Vector
final R2Point
static R2Point
of
(double x, double y) static R2Point
origin()
final R2Point
toString()
toValue()
final double
xMax()
final double
xMin()
final double
yMax()
final double
yMin()
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
Field Details
-
x
public final double x -
y
public final double y
-
-
Constructor Details
-
R2Point
public R2Point(double x, double y)
-
-
Method Details
-
plus
-
minux
-
minus
-
xMin
public final double xMin() -
yMin
public final double yMin() -
xMax
public final double xMax() -
yMax
public final double yMax() -
contains
-
intersects
- Specified by:
intersects
in classR2Shape
-
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
-