- java.lang.Object
-
- swim.math.R2Shape
-
- swim.math.PointR2
-
-
Constructor Summary
Constructors Constructor Description PointR2(double x, double y)
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(PointR2 that)
boolean
contains(R2Shape shape)
void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static R2Form<PointR2>
form()
int
hashCode()
boolean
intersects(R2Shape shape)
VectorR2
minus(PointR2 that)
PointR2
minux(VectorR2 vector)
static PointR2
of(double x, double y)
static PointR2
origin()
PointR2
plus(VectorR2 vector)
String
toString()
Value
toValue()
PointZ2
transform(R2ToZ2Function f)
double
xMax()
double
xMin()
double
yMax()
double
yMin()
-
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
origin
public static PointR2 origin()
-
of
public static PointR2 of(double x, double y)
-
intersects
public boolean intersects(R2Shape shape)
- Specified by:
intersects
in classR2Shape
-
transform
public PointZ2 transform(R2ToZ2Function f)
-
canEqual
protected boolean canEqual(PointR2 that)
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-