- 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 booleancanEqual(R2Point that)booleancontains(R2Shape shape)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static R2Form<R2Point>form()inthashCode()booleanintersects(R2Shape shape)R2Vectorminus(R2Point that)R2Pointminux(R2Vector vector)static R2Pointof(double x, double y)static R2Pointorigin()R2Pointplus(R2Vector vector)StringtoString()ValuetoValue()Z2Pointtransform(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 Z2Point transform(R2ToZ2Function f)
-
canEqual
protected boolean canEqual(R2Point that)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites 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)
-
-