ProGAL.geom3d.tessellation.BowyerWatson
Class Tetr

java.lang.Object
  extended by ProGAL.geom3d.volumes.Tetrahedron
      extended by ProGAL.geom3d.tessellation.BowyerWatson.Tetr
All Implemented Interfaces:
Shape, Simplex, Volume

public class Tetr
extends Tetrahedron


Field Summary
 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 Summary
Tetr(PointWeighted p0, PointWeighted p1, PointWeighted p2, PointWeighted p3)
           
 
Method Summary
 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.
 
Methods inherited from class ProGAL.geom3d.volumes.Tetrahedron
blowUp, circumCenter, circumRadius, circumSphere, clone, getCenter, getCommonTriangle, getCorner, getCorners, getDimension, getInradius, getPoint, getVolume, incenter, isAcute, isInside, main, overlaps, regularTetrahedron, setPoint, toConsole, toConsole, toScene, toString, translate, translate, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

corners

public final PointWeighted[] corners

neighbors

public final Tetr[] neighbors

cornerSides

public final int[] cornerSides
cornerSides[i] indicates the sign of orient(corners[i+1%4],corners[i+2%4],corners[i+3%4],corners[i]). cornerSides[2] is, e.g., the sign of orient(corners[3],corners[0],corners[1],corners[2]).

Constructor Detail

Tetr

public Tetr(PointWeighted p0,
            PointWeighted p1,
            PointWeighted p2,
            PointWeighted p3)
Method Detail

cornerIdx

public int cornerIdx(PointWeighted p)
Return the index of the specified corner-point and -1 if p is not a corner.


toString

public java.lang.String toString()
Description copied from class: Tetrahedron
Return a string representation of this tetrahedron.

Overrides:
toString in class Tetrahedron