- java.lang.Object
-
- swim.math.R3Shape
-
- swim.math.SphereR3
-
-
Constructor Summary
Constructors Constructor Description SphereR3(double cx, double cy, double cz, double r)
-
Method Summary
Modifier and Type Method Description protected boolean
canEqual(SphereR3 that)
boolean
contains(BoxR3 box)
boolean
contains(PointR3 point)
boolean
contains(R3Shape shape)
boolean
contains(SphereR3 sphere)
void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static R3Form<SphereR3>
form()
int
hashCode()
boolean
intersects(BoxR3 box)
boolean
intersects(PointR3 point)
boolean
intersects(R3Shape shape)
boolean
intersects(SphereR3 sphere)
static SphereR3
of(double cx, double cy, double cz, double r)
String
toString()
Value
toValue()
BoxZ3
transform(R3ToZ3Function f)
double
xMax()
double
xMin()
double
yMax()
double
yMin()
double
zMax()
double
zMin()
-
Methods inherited from class swim.math.R3Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
of
public static SphereR3 of(double cx, double cy, double cz, double r)
-
contains
public boolean contains(PointR3 point)
-
contains
public boolean contains(BoxR3 box)
-
contains
public boolean contains(SphereR3 sphere)
-
intersects
public boolean intersects(R3Shape shape)
- Specified by:
intersects
in classR3Shape
-
intersects
public boolean intersects(PointR3 point)
-
intersects
public boolean intersects(BoxR3 box)
-
intersects
public boolean intersects(SphereR3 sphere)
-
transform
public BoxZ3 transform(R3ToZ3Function f)
-
canEqual
protected boolean canEqual(SphereR3 that)
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-