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