- java.lang.Object
-
- swim.math.R3Shape
-
- swim.math.BoxR3
-
-
Constructor Summary
Constructors Constructor Description BoxR3(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(BoxR3 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<BoxR3>
form()
int
hashCode()
boolean
intersects(BoxR3 box)
boolean
intersects(PointR3 point)
boolean
intersects(R3Shape shape)
boolean
intersects(SphereR3 sphere)
static BoxR3
of(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax)
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 BoxR3 of(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax)
-
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(BoxR3 that)
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
-