|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Point3f edu.jhu.ece.iacl.jist.structures.geom.Point3 edu.jhu.ece.iacl.jist.structures.geom.Vertex
public class Vertex
The Class Vertex.
Field Summary | |
---|---|
java.util.ArrayList<Edge> |
edges
The edges. |
int |
index
The index. |
Constructor Summary | |
---|---|
Vertex()
Instantiates a new vertex. |
|
Vertex(double[] d)
Instantiates a new vertex. |
|
Vertex(double x,
double y,
double z)
Instantiates a new vertex. |
|
Vertex(float x,
float y,
float z)
Instantiates a new vertex. |
|
Vertex(Point3 p)
Instantiates a new vertex. |
Method Summary | |
---|---|
void |
add(Edge e)
Adds the. |
int |
compareTo(Vertex v)
|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public java.util.ArrayList<Edge> edges
public int index
Constructor Detail |
---|
public Vertex()
public Vertex(Point3 p)
p
- the ppublic Vertex(double x, double y, double z)
x
- the xy
- the yz
- the zpublic Vertex(float x, float y, float z)
x
- the xy
- the yz
- the zpublic Vertex(double[] d)
d
- the dMethod Detail |
---|
public void add(Edge e)
e
- the epublic int hashCode()
public int compareTo(Vertex v)
public boolean equals(java.lang.Object obj)
public java.lang.String toString()
toString
in class Point3
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |