|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvclip.Feature
vclip.Vertex
A vertex of a polyhedron.
| Field Summary |
| Fields inherited from class vclip.Feature |
EDGE, FACE, VERTEX |
| Constructor Summary | |
Vertex(java.lang.String name,
double x,
double y,
double z)
Constructs a Vertex with a given name and coordinate values. |
|
Vertex(java.lang.String name,
javax.vecmath.Point3d p)
Constructs a Vertex with a given name and coordinates. |
|
| Method Summary | |
javax.vecmath.Point3d |
getCoords()
Gets the coordinates of this vertex. |
Feature |
promote(javax.vecmath.Vector3d nrm,
double angtol)
|
void |
setCoords(javax.vecmath.Point3d coords)
Sets the coordinates of this vertex. |
java.lang.String |
toString()
Produces a string representation of this vertex. |
| Methods inherited from class vclip.Feature |
getName, getType, isHidden, setHidden, typeName |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Vertex(java.lang.String name,
javax.vecmath.Point3d p)
name - vertex namep - coordinate values
public Vertex(java.lang.String name,
double x,
double y,
double z)
name - vertex namex - the x coordinatey - the y coordinatez - the z coordinate| Method Detail |
public void setCoords(javax.vecmath.Point3d coords)
coords - coordinates of this vertexpublic javax.vecmath.Point3d getCoords()
public final java.lang.String toString()
public Feature promote(javax.vecmath.Vector3d nrm,
double angtol)
promote in class Feature
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||