- java.lang.Object
-
- swim.math.R3Shape
-
- swim.math.R3Box
-
-
Constructor Summary
Constructors Constructor Description R3Box(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(R3Box that)booleancontains(R3Box box)booleancontains(R3Point point)booleancontains(R3Shape shape)booleancontains(R3Sphere sphere)<T> Output<T>debug(Output<T> output)Writes a developer readable, debug-formatted string representation of this object tooutput.booleanequals(Object other)static R3Form<R3Box>form()inthashCode()booleanintersects(R3Box box)booleanintersects(R3Point point)booleanintersects(R3Shape shape)booleanintersects(R3Sphere sphere)static R3Boxof(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax)StringtoString()ValuetoValue()Z3Boxtransform(R3ToZ3Function f)doublexMax()doublexMin()doubleyMax()doubleyMin()doublezMax()doublezMin()-
Methods inherited from class swim.math.R3Shape
contains, intersects, shapeForm
-
-
-
-
Method Detail
-
contains
public boolean contains(R3Point point)
-
contains
public boolean contains(R3Box box)
-
contains
public boolean contains(R3Sphere sphere)
-
intersects
public boolean intersects(R3Shape shape)
- Specified by:
intersectsin classR3Shape
-
intersects
public boolean intersects(R3Point point)
-
intersects
public boolean intersects(R3Box box)
-
intersects
public boolean intersects(R3Sphere sphere)
-
transform
public Z3Box transform(R3ToZ3Function f)
-
canEqual
protected boolean canEqual(R3Box that)
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
of
public static R3Box of(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax)
-
-