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) |
void |
addVertexOffset(Vector3i vidx) |
boolean |
baseVertexEquals(Vector3i vidx0) |
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 |
getBaseVertex(Vector3i vidx0)
Returns the indices of the base vertex for this tet.
|
void |
getNodalVertexIndices(Vector3i vidx,
int nodeIdx) |
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 void addVertexOffset(Vector3i vidx)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public Vector3i getBaseVertex(Vector3i vidx0)
vidx0
- if not null, used to return the base vertex indicespublic boolean baseVertexEquals(Vector3i vidx0)
public int hashCode()
hashCode
in class java.lang.Object
public void getBaseCoords(Vector3d coords)
public void getNodalVertexIndices(Vector3i vidx, int nodeIdx)
public Vector3i[] getVertices()
public java.lang.String toString()
toString
in class java.lang.Object