public class Tri
extends java.lang.Object
Constructor and Description |
---|
Tri(Vertex[] corners) |
Tri(Vertex v0,
Vertex v1,
Vertex v2) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
void |
fromScene(J3DScene scene) |
void |
fromSceneEdge(J3DScene scene) |
void |
fromSceneEdges(J3DScene scene) |
int |
getAlph() |
double |
getCircumRadius()
Returns the radius of the smallest sphere circumscribing this triangle
|
Vertex |
getCorner(int i) |
int |
getCount() |
int |
hashCode() |
boolean |
hasVertex(Vertex v) |
int |
indexOf_slow(Vertex v) |
boolean |
isAlive() |
boolean |
isAlpha(double alpha)
returns TRUE if this triangle is in the alpha complex for the given alpha
|
boolean |
isBig()
Returns TRUE if one of the corners is a big point - there are 4 big points with id's 0, 1, 2 , 3
|
void |
setAlive(boolean dAlive) |
void |
setAlph(int i) |
void |
toConsole() |
void |
toScene(J3DScene scene,
java.awt.Color clr) |
void |
toSceneEdges(J3DScene scene,
java.awt.Color clr,
double width) |
void |
toSceneEdges(J3DScene scene,
java.awt.Color clr,
double width,
double bigWidth) |
java.lang.String |
toString() |
public Vertex getCorner(int i)
public void setAlph(int i)
public int getAlph()
public double getCircumRadius()
public boolean hasVertex(Vertex v)
public boolean isAlive()
public void setAlive(boolean dAlive)
public boolean isBig()
public boolean isAlpha(double alpha)
public int getCount()
public int indexOf_slow(Vertex v)
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void toConsole()
public void fromSceneEdges(J3DScene scene)
public void fromSceneEdge(J3DScene scene)
public void toSceneEdges(J3DScene scene, java.awt.Color clr, double width)
public void toScene(J3DScene scene, java.awt.Color clr)
public void fromScene(J3DScene scene)
public void toSceneEdges(J3DScene scene, java.awt.Color clr, double width, double bigWidth)