- java.lang.Object
-
- swim.math.R2Shape
-
- swim.math.CircleR2
-
-
Constructor Summary
Constructors Constructor Description CircleR2(double cx, double cy, double r)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(CircleR2 that)
boolean
contains(BoxR2 box)
boolean
contains(CircleR2 circle)
boolean
contains(PointR2 point)
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<CircleR2>
form()
int
hashCode()
boolean
intersects(BoxR2 box)
boolean
intersects(CircleR2 circle)
boolean
intersects(PointR2 point)
boolean
intersects(R2Shape shape)
static CircleR2
of(double cx, double cy, double r)
String
toString()
Value
toValue()
BoxZ2
transform(R2ToZ2Function f)
double
xMax()
double
xMin()
double
yMax()
double
yMin()
-
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:
intersects
in 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:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-