artisynth.core.femmodels
Class FaceNodes3d

java.lang.Object
  extended by artisynth.core.femmodels.FaceNodes3d

public class FaceNodes3d
extends java.lang.Object


Method Summary
 boolean containsNode(DynamicMechComponent c)
           
 boolean equals(java.lang.Object obj)
           
 FemElement3d getElement()
           
 int hashCode()
           
 boolean hasSelfAttachedNode()
          Return true if this face has a node from its own mesh attached to it.
 boolean isContained(FaceNodes3d f)
          Returns true if all the nodes of this face are contained within a given face.
 boolean isHidden()
           
 boolean isOverlapping()
           
 boolean isSelfAttachedToFace()
          Return true if at least one of this face's nodes is itself attached to a face belonging to the same mesh
 int numAllNodes()
           
 int numNodes()
           
 void setAllNodes(FemNode3d[] nodes)
           
 void setHidden(boolean hidden)
           
 void setOverlapping(boolean hidden)
           
 java.lang.String toString()
           
 FemNode3d[][] triangulate()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

setAllNodes

public void setAllNodes(FemNode3d[] nodes)

numNodes

public int numNodes()

numAllNodes

public int numAllNodes()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getElement

public FemElement3d getElement()

isHidden

public boolean isHidden()

setHidden

public void setHidden(boolean hidden)

isOverlapping

public boolean isOverlapping()

setOverlapping

public void setOverlapping(boolean hidden)

isContained

public boolean isContained(FaceNodes3d f)
Returns true if all the nodes of this face are contained within a given face.

Parameters:
f - face to check for containment within
Returns:
true if this face is contained within f

containsNode

public boolean containsNode(DynamicMechComponent c)

hasSelfAttachedNode

public boolean hasSelfAttachedNode()
Return true if this face has a node from its own mesh attached to it.


isSelfAttachedToFace

public boolean isSelfAttachedToFace()
Return true if at least one of this face's nodes is itself attached to a face belonging to the same mesh


triangulate

public FemNode3d[][] triangulate()