public static class DistanceGrid.TetDesc
extends java.lang.Object
Constructor and Description |
---|
TetDesc(DistanceGrid.TetDesc tdesc) |
TetDesc(int xi,
int yj,
int zk,
DistanceGrid.TetID tetId) |
TetDesc(Vector3i vxyz,
DistanceGrid.TetID tetId) |
Modifier and Type | Method and Description |
---|---|
void |
addOffset(DistanceGrid.TetDesc tdesc) |
boolean |
cellEquals(DistanceGrid.TetDesc tdesc) |
void |
clipLineSegment(double[] srng,
Point3d p0,
Vector3d del)
Clips a line segment defined by p = p0 + del*s, with s in the range
(srng[0], srng[1]) to fit within this tet.
|
boolean |
equals(java.lang.Object obj) |
void |
getBaseCoords(Vector3d coords)
Get the coordinates of the base vertex in grid coordinates.
|
Vector3i[] |
getVertices() |
int |
hashCode() |
java.lang.String |
toString() |
public TetDesc(Vector3i vxyz, DistanceGrid.TetID tetId)
public TetDesc(DistanceGrid.TetDesc tdesc)
public TetDesc(int xi, int yj, int zk, DistanceGrid.TetID tetId)
public void addOffset(DistanceGrid.TetDesc tdesc)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean cellEquals(DistanceGrid.TetDesc tdesc)
public int hashCode()
hashCode
in class java.lang.Object
public void getBaseCoords(Vector3d coords)
public Vector3i[] getVertices()
public java.lang.String toString()
toString
in class java.lang.Object