public class Tetr extends Tetrahedron
Modifier and Type | Field and Description |
---|---|
PointWeighted[] |
corners |
int[] |
cornerSides
cornerSides[i] indicates the sign of orient(corners[i+1%4],corners[i+2%4],corners[i+3%4],corners[i]).
|
Tetr[] |
neighbors |
Constructor and Description |
---|
Tetr(PointWeighted p0,
PointWeighted p1,
PointWeighted p2,
PointWeighted p3) |
Modifier and Type | Method and Description |
---|---|
int |
cornerIdx(PointWeighted p)
Return the index of the specified corner-point and -1 if p is not a corner.
|
java.lang.String |
toString()
Return a string representation of this tetrahedron.
|
blowUp, circumCenter, circumRadius, circumSphere, clone, getCenter, getCommonTriangle, getCorner, getCorners, getDimension, getInradius, getPoint, getVolume, incenter, isAcute, isInside, main, overlaps, regularTetrahedron, setPoint, toConsole, toConsole, toString, translate, translate, translate
public final PointWeighted[] corners
public final Tetr[] neighbors
public final int[] cornerSides
public Tetr(PointWeighted p0, PointWeighted p1, PointWeighted p2, PointWeighted p3)
public int cornerIdx(PointWeighted p)
public java.lang.String toString()
Tetrahedron
toString
in class Tetrahedron