public class MFreeVertex3d extends Vertex3d implements MFreePoint3d
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_COORDINATE_TOLERANCE |
myRenderPnt, pnt, uniqueIndex
Constructor and Description |
---|
MFreeVertex3d(java.util.ArrayList<MFreeNode3d> dependentNodes,
VectorNd coords) |
Modifier and Type | Method and Description |
---|---|
MFreeVertex3d |
clone() |
java.util.ArrayList<MFreeNode3d> |
getDependentNodes() |
VectorNd |
getNodeCoordinates() |
Point3d |
getRestPosition() |
boolean |
reduceDependencies(double tol)
Removes all dependencies with have very low weights
( |w| <= tol )
|
void |
setDependentNodes(java.util.List<MFreeNode3d> nodes,
VectorNd coords) |
void |
setNodeCoordinates(VectorNd coords) |
void |
updatePosAndVelState() |
void |
updatePosState() |
void |
updateRestPosition() |
void |
updateVelState() |
addIncidentHalfEdge, computeAngleWeightedNormal, computeCentroid, computeCovariance, computeNormal, 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
checkFlag, clearFlag, clearVisited, getType, getTypeName, isVisited, setFlag, setVisited, voronoiCheck
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition
public MFreeVertex3d(java.util.ArrayList<MFreeNode3d> dependentNodes, VectorNd coords)
public java.util.ArrayList<MFreeNode3d> getDependentNodes()
getDependentNodes
in interface MFreePoint3d
public void setDependentNodes(java.util.List<MFreeNode3d> nodes, VectorNd coords)
setDependentNodes
in interface MFreePoint3d
public void updateRestPosition()
public Point3d getRestPosition()
getRestPosition
in interface MFreePoint3d
public VectorNd getNodeCoordinates()
getNodeCoordinates
in interface MFreePoint3d
public void setNodeCoordinates(VectorNd coords)
setNodeCoordinates
in interface MFreePoint3d
public void updatePosState()
updatePosState
in interface MFreePoint3d
public void updateVelState()
updateVelState
in interface MFreePoint3d
public void updatePosAndVelState()
updatePosAndVelState
in interface MFreePoint3d
public MFreeVertex3d clone()
public boolean reduceDependencies(double tol)
MFreePoint3d
reduceDependencies
in interface MFreePoint3d