artisynth.core.femmodels
Class FemIntersector

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

public class FemIntersector
extends java.lang.Object


Constructor Summary
FemIntersector()
           
FemIntersector(double tol)
           
 
Method Summary
 double getTolerance()
           
 PolygonalMesh intersectPlane(FemModel3d fem, Plane plane)
          Intersects a FEM 3d model with a plane, returning a Polygonal mesh on the plane corresponding to inside the FEM
 void setTolerance(double tol)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FemIntersector

public FemIntersector()

FemIntersector

public FemIntersector(double tol)
Method Detail

setTolerance

public void setTolerance(double tol)

getTolerance

public double getTolerance()

intersectPlane

public PolygonalMesh intersectPlane(FemModel3d fem,
                                    Plane plane)
Intersects a FEM 3d model with a plane, returning a Polygonal mesh on the plane corresponding to inside the FEM

Parameters:
fem - model to intersect with the plane
plane - plane to intersect with
Returns:
intersection mesh