java.lang.Object
swim.math.R2Shape
swim.math.R2Circle
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
boolean
boolean
boolean
<T> Output<T>
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
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) toString()
toValue()
final double
xMax()
final double
xMin()
final double
yMax()
final double
yMin()
Methods inherited from class swim.math.R2Shape
contains, intersects, shapeForm
-
Field Details
-
cx
public final double cx -
cy
public final double cy -
r
public final double r
-
-
Constructor Details
-
R2Circle
public R2Circle(double cx, double cy, double r)
-
-
Method Details
-
xMin
public final double xMin() -
yMin
public final double yMin() -
xMax
public final double xMax() -
yMax
public final double yMax() -
contains
-
contains
-
contains
-
contains
-
intersects
- Specified by:
intersects
in classR2Shape
-
intersects
-
intersects
-
intersects
-
transform
-
toValue
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
. -
toString
-
of
-
form
-