- java.lang.Object
-
- swim.math.R2Shape
-
- swim.math.CircleR2
-
-
Constructor Summary
Constructors Constructor Description CircleR2(double cx, double cy, double r)
-
Method Summary
Modifier and Type Method Description protected booleancanEqual(CircleR2 that)booleancontains(BoxR2 box)booleancontains(CircleR2 circle)booleancontains(PointR2 point)booleancontains(R2Shape shape)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static R2Form<CircleR2>form()inthashCode()booleanintersects(BoxR2 box)booleanintersects(CircleR2 circle)booleanintersects(PointR2 point)booleanintersects(R2Shape shape)static CircleR2of(double cx, double cy, double r)StringtoString()ValuetoValue()BoxZ2transform(R2ToZ2Function f)doublexMax()doublexMin()doubleyMax()doubleyMin()-
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
of
public static CircleR2 of(double cx, double cy, double r)
-
contains
public boolean contains(PointR2 point)
-
contains
public boolean contains(BoxR2 box)
-
contains
public boolean contains(CircleR2 circle)
-
intersects
public boolean intersects(R2Shape shape)
- Specified by:
intersectsin classR2Shape
-
intersects
public boolean intersects(PointR2 point)
-
intersects
public boolean intersects(BoxR2 box)
-
intersects
public boolean intersects(CircleR2 circle)
-
transform
public BoxZ2 transform(R2ToZ2Function f)
-
canEqual
protected boolean canEqual(CircleR2 that)
-
debug
public void debug(Output<?> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-