public class BoxInfo
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
static char[] |
bbcageTickEdges |
|
protected static Point3i[] |
cubeVertexOffsets |
|
static byte[] |
edges |
|
static int[] |
toCanonical |
|
static char[] |
uccageTickEdges |
|
static Point3f[] |
unitCubePoints |
Constructor | Description |
---|---|
BoxInfo() |
Modifier and Type | Method | Description |
---|---|---|
void |
addBoundBoxPoint(Point3f pt) |
|
static void |
addPoint(Point3f pt,
Point3f xyzMin,
Point3f xyzMax,
float margin) |
|
static void |
addPointXYZ(float x,
float y,
float z,
Point3f xyzMin,
Point3f xyzMax,
float margin) |
|
Point3fi[] |
getBboxVertices() |
|
Point3f |
getBoundBoxCenter() |
|
Vector3f |
getBoundBoxCornerVector() |
|
java.util.Map<java.lang.String,java.lang.Object> |
getBoundBoxInfo() |
|
Point3f[] |
getBoundBoxPoints(boolean isAll) |
|
Point3f[] |
getCanonicalCopy(float scale) |
|
static Point3f[] |
getCanonicalCopy(Point3f[] bbUcPoints,
float scale) |
|
static Point3f[] |
getCriticalPoints(Point3f[] bbVertices,
Tuple3f offset) |
|
static Point4f[] |
getFacesFromCriticalPoints(Point3f[] points) |
|
java.util.List<java.lang.Object> |
intersectPlane(Point4f plane,
float scale,
int flags) |
returns a set of points defining the geometric object within the given
plane that spans the unit cell within the given margins
|
boolean |
isWithin(Point3f pt) |
|
void |
reset() |
|
static void |
scaleBox(Point3f[] pts,
float scale) |
|
void |
setBbcage(float scale) |
|
void |
setBoundBox(Point3f pt1,
Point3f pt2,
boolean byCorner,
float scale) |
public static char[] bbcageTickEdges
public static char[] uccageTickEdges
public static final byte[] edges
public static final Point3f[] unitCubePoints
public static final int[] toCanonical
protected static final Point3i[] cubeVertexOffsets
public java.util.List<java.lang.Object> intersectPlane(Point4f plane, float scale, int flags)
plane
- scale
- flags
- 0 -- polygon int[] 1 -- edges only 2 -- triangles only 3 -- bothpublic Point3f[] getCanonicalCopy(float scale)
public static void scaleBox(Point3f[] pts, float scale)
public static final Point3f[] getCriticalPoints(Point3f[] bbVertices, Tuple3f offset)
public Point3f getBoundBoxCenter()
public Vector3f getBoundBoxCornerVector()
public Point3f[] getBoundBoxPoints(boolean isAll)
public Point3fi[] getBboxVertices()
public java.util.Map<java.lang.String,java.lang.Object> getBoundBoxInfo()
public void reset()
public void addBoundBoxPoint(Point3f pt)
public static void addPointXYZ(float x, float y, float z, Point3f xyzMin, Point3f xyzMax, float margin)
public void setBbcage(float scale)
public boolean isWithin(Point3f pt)