- java.lang.Object
-
- swim.math.R2Shape
-
- swim.math.R2Circle
-
-
Constructor Summary
Constructors Constructor Description R2Circle(double cx, double cy, double r)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(R2Circle that)
boolean
contains(R2Box box)
boolean
contains(R2Circle circle)
boolean
contains(R2Point point)
boolean
contains(R2Shape shape)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static R2Form<R2Circle>
form()
int
hashCode()
boolean
intersects(R2Box box)
boolean
intersects(R2Circle circle)
boolean
intersects(R2Point point)
boolean
intersects(R2Shape shape)
static R2Circle
of(double cx, double cy, double r)
String
toString()
Value
toValue()
Z2Box
transform(R2ToZ2Function f)
double
xMax()
double
xMin()
double
yMax()
double
yMin()
-
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
contains
public boolean contains(R2Point point)
-
contains
public boolean contains(R2Box box)
-
contains
public boolean contains(R2Circle circle)
-
intersects
public boolean intersects(R2Shape shape)
- Specified by:
intersects
in classR2Shape
-
intersects
public boolean intersects(R2Point point)
-
intersects
public boolean intersects(R2Box box)
-
intersects
public boolean intersects(R2Circle circle)
-
transform
public Z2Box transform(R2ToZ2Function f)
-
canEqual
protected boolean canEqual(R2Circle that)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
of
public static R2Circle of(double cx, double cy, double r)
-
-