public class Edge
extends java.lang.Object
Constructor and Description |
---|
Edge(Vertex[] corners) |
Edge(Vertex v0,
Vertex v1) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
void |
fromSceneEdge(J3DScene scene) |
boolean |
getAlph() |
double |
getCircumRadius()
Returns the radius of the smallest sphere circumscribing this edge
|
Vertex |
getCorner(int i) |
int |
getCount() |
double |
getLength() |
double |
getLengthSquared() |
int |
hashCode() |
boolean |
hasVertex(Vertex v) |
int |
indexOf_slow(Vertex v) |
boolean |
isAlive() |
boolean |
isAlpha(double alpha)
returns TRUE if this tetrahedron 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(boolean b) |
void |
toConsole() |
void |
toSceneEdge(J3DScene scene,
java.awt.Color clr,
double width) |
java.lang.String |
toString() |
public Vertex getCorner(int i)
public void setAlph(boolean b)
public boolean getAlph()
public int hashCode()
hashCode
in class java.lang.Object
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 double getLength()
public double getLengthSquared()
public int indexOf_slow(Vertex v)
public java.lang.String toString()
toString
in class java.lang.Object
public void toConsole()
public void fromSceneEdge(J3DScene scene)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public void toSceneEdge(J3DScene scene, java.awt.Color clr, double width)