- 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 booleancanEqual(BoxR3 that)booleancontains(BoxR3 box)booleancontains(PointR3 point)booleancontains(R3Shape shape)booleancontains(SphereR3 sphere)voiddebug(Output<?> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static R3Form<BoxR3>form()inthashCode()booleanintersects(BoxR3 box)booleanintersects(PointR3 point)booleanintersects(R3Shape shape)booleanintersects(SphereR3 sphere)static BoxR3of(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax)StringtoString()ValuetoValue()BoxZ3transform(R3ToZ3Function f)doublexMax()doublexMin()doubleyMax()doubleyMin()doublezMax()doublezMin()-
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:
intersectsin 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:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
-