|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaspack.geometry.Feature
maspack.geometry.Vertex3d
maspack.geometry.SubdivisionVertex3d
public class SubdivisionVertex3d
Holds a reference to the face and barycentric coordinates used to generate this vertice.
Field Summary | |
---|---|
Face |
f
|
double |
u
|
double |
v
|
Fields inherited from class maspack.geometry.Vertex3d |
---|
myRenderPnt, pnt, uniqueIndex |
Fields inherited from class maspack.geometry.Feature |
---|
CELL, EDGE, FACE, FACET, HALF_EDGE, TYPE_MASK, UNKNOWN, VERTEX_2D, VERTEX_3D, VISITED |
Constructor Summary | |
---|---|
SubdivisionVertex3d(Face face,
double iu,
double iv)
|
Method Summary | |
---|---|
SubdivisionVertex3d |
clone()
|
boolean |
computeNormal(Vector3d nrm)
Computes a normal for this vertex by taking the average of all the associated face normals. |
Methods inherited from class maspack.geometry.Vertex3d |
---|
addIncidentHalfEdge, computeAngleWeightedNormal, computeCentroid, computeCovariance, computeRenderNormal, copy, firstIncidentHalfEdge, getColor, getColorArray, getIncidentHalfEdges, getIndex, getMesh, getPoint, getPosition, getWorldPoint, getWorldPoint, interpolate, numIncidentHalfEdges, numPoints, removeIncidentHalfEdge, saveRenderInfo, setColor, setColor, setColor, setColor, setColor, setColor, setColorHSV, setColorHSV, setIndex, setMesh, setPosition, updateBounds |
Methods inherited from class maspack.geometry.Feature |
---|
checkFlag, clearFlag, clearVisited, getType, getTypeName, isVisited, setFlag, setVisited, voronoiCheck |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public Face f
public double u
public double v
Constructor Detail |
---|
public SubdivisionVertex3d(Face face, double iu, double iv)
Method Detail |
---|
public boolean computeNormal(Vector3d nrm)
Vertex3d
computeNormal
in class Vertex3d
nrm
- returns the computed normal
public SubdivisionVertex3d clone()
clone
in interface Clonable
clone
in class Vertex3d
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |