java.lang.Object
swim.math.R2Shape
swim.math.R2Point
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanboolean<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanform()inthashCode()booleanintersects(R2Shape shape) final R2Vectorfinal R2Pointstatic R2Pointof(double x, double y) static R2Pointorigin()final R2PointtoString()toValue()final doublexMax()final doublexMin()final doubleyMax()final doubleyMin()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:
intersectsin classR2Shape
-
transform
-
toValue
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
origin
-
of
-
form
-