java.lang.Object
swim.math.R3Shape
swim.math.R3Sphere
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanbooleanbooleanboolean<T> Output<T>Writes a developer readable, debug-formatted string representation of this object tooutput.booleanform()inthashCode()booleanintersects(R3Box box) booleanintersects(R3Point point) booleanintersects(R3Shape shape) booleanintersects(R3Sphere sphere) static R3Sphereof(double cx, double cy, double cz, double r) toString()toValue()final doublexMax()final doublexMin()final doubleyMax()final doubleyMin()final doublezMax()final doublezMin()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:
intersectsin classR3Shape
-
intersects
-
intersects
-
intersects
-
transform
-
toValue
-
canEqual
-
equals
-
hashCode
public int hashCode() -
debug
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput. -
toString
-
of
-
form
-