java.lang.Object
swim.math.R3Shape
swim.math.R3Sphere
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
(R3Box box) boolean
intersects
(R3Point point) boolean
intersects
(R3Shape shape) boolean
intersects
(R3Sphere sphere) static R3Sphere
of
(double cx, double cy, double cz, double r) toString()
toValue()
final double
xMax()
final double
xMin()
final double
yMax()
final double
yMin()
final double
zMax()
final double
zMin()
Methods inherited from class swim.math.R3Shape
contains, intersects, shapeForm
-
Field Details
-
cx
public final double cx -
cy
public final double cy -
cz
public final double cz -
r
public final double r
-
-
Constructor Details
-
R3Sphere
public R3Sphere(double cx, double cy, double cz, double r)
-
-
Method Details
-
xMin
public final double xMin() -
yMin
public final double yMin() -
zMin
public final double zMin() -
xMax
public final double xMax() -
yMax
public final double yMax() -
zMax
public final double zMax() -
contains
-
contains
-
contains
-
contains
-
intersects
- Specified by:
intersects
in classR3Shape
-
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
-