public class CTetrahedron extends Tetrahedron
corners
Modifier | Constructor and Description |
---|---|
protected |
CTetrahedron() |
|
CTetrahedron(CVertex p0,
CVertex p1,
CVertex p2,
CVertex p3) |
Modifier and Type | Method and Description |
---|---|
int |
apexid(int index) |
boolean |
containsBigPoint()
For computational convenience, the representation of a complex is based on a big tetrahedron
that encloses all vertices.
|
boolean |
containsPoint(CVertex p) |
boolean |
containsTriangle(CTriangle t) |
CTetrahedron |
findNeighbour(CVertex v)
returns neighbouring tetrahedron containing v as the oppposite vertex
|
int |
findpoint(CVertex p) |
CVertex |
findVertex(CTetrahedron tetr) |
CVertex[] |
getCommonVertices(CTetrahedron tetr)
returns the vertices shared by two tetrahedra.
|
int |
getID(CVertex v) |
CTetrahedron |
getNeighbour(CVertex v)
returns neighbour tetrahedron containing specified vertex
|
CTetrahedron |
getNeighbour(int index) |
int |
getNumberBigPoints() |
Plane |
getPlane(CTetrahedron tetr)
returns plane through common triangle of this and another tetrahedron.
|
CVertex |
getPoint(int i)
Return the specified corner-point.
|
CTriangle |
getTriangle(int index) |
boolean |
hasNeighbor(CTetrahedron t) |
boolean |
isFlat() |
boolean |
isModified() |
CTriangle |
oppositeTriangle(CVertex v) |
CVertex |
oppositeVertex(CTriangle base)
TODO: Copy to Tetrahedron
|
void |
setFlat(boolean flat) |
void |
setModified(boolean modified) |
void |
setNeighbour(int index,
CTetrahedron t) |
void |
setPoint(CVertex p,
int i) |
void |
setTriangle(int index,
CTriangle t) |
void |
updateNeighbour(CTetrahedron lookfor,
CTetrahedron replacement) |
blowUp, circumCenter, circumRadius, circumSphere, clone, getCenter, getCommonTriangle, getCorner, getCorners, getDimension, getInradius, getVolume, incenter, isAcute, isInside, main, overlaps, regularTetrahedron, setPoint, toConsole, toConsole, toString, toString, translate, translate, translate
public void setFlat(boolean flat)
public void setModified(boolean modified)
public void setPoint(CVertex p, int i)
public void setNeighbour(int index, CTetrahedron t)
public void setTriangle(int index, CTriangle t)
public CVertex getPoint(int i)
Tetrahedron
c<0 || c>3
.getPoint
in interface Simplex
getPoint
in class Tetrahedron
public CTetrahedron getNeighbour(int index)
public CTriangle getTriangle(int index)
public boolean isModified()
public boolean isFlat()
public boolean containsBigPoint()
RegularComplex
public int getNumberBigPoints()
public CTetrahedron getNeighbour(CVertex v)
public boolean hasNeighbor(CTetrahedron t)
public int getID(CVertex v)
public CVertex[] getCommonVertices(CTetrahedron tetr)
public Plane getPlane(CTetrahedron tetr)
public void updateNeighbour(CTetrahedron lookfor, CTetrahedron replacement)
public int findpoint(CVertex p)
public CTetrahedron findNeighbour(CVertex v)
public CVertex findVertex(CTetrahedron tetr)
public boolean containsPoint(CVertex p)
public boolean containsTriangle(CTriangle t)
public int apexid(int index)