- java.lang.Object
-
- swim.math.R2Shape
-
- swim.math.PointR2
-
-
Constructor Summary
Constructors Constructor Description PointR2(double x, double y)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(PointR2 that)booleancontains(R2Shape shape)voiddebug(swim.codec.Output<?> output)booleanequals(Object other)static R2Form<PointR2>form()inthashCode()booleanintersects(R2Shape shape)VectorR2minus(PointR2 that)PointR2minux(VectorR2 vector)static PointR2of(double x, double y)static PointR2origin()PointR2plus(VectorR2 vector)StringtoString()swim.structure.ValuetoValue()PointZ2transform(R2ToZ2Function f)doublexMax()doublexMin()doubleyMax()doubleyMin()-
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
intersects
public boolean intersects(R2Shape shape)
- Specified by:
intersectsin classR2Shape
-
transform
public PointZ2 transform(R2ToZ2Function f)
-
canEqual
protected boolean canEqual(PointR2 that)
-
debug
public void debug(swim.codec.Output<?> output)
- Specified by:
debugin interfaceswim.codec.Debug
-
origin
public static PointR2 origin()
-
of
public static PointR2 of(double x, double y)
-
-