artisynth.core.mfreemodels
Class IntersectionFactory

java.lang.Object
  extended by artisynth.core.mfreemodels.IntersectionFactory

public class IntersectionFactory
extends java.lang.Object


Constructor Summary
IntersectionFactory()
           
 
Method Summary
static
<A,B> DirectedGraph<A,B>
buildConnectivityGraph(B[] nodeList, boolean[][] cChart)
           
static DirectedGraph<int[],java.lang.Integer> buildConnectivityGraph(boolean[][] cChart)
           
static
<A,B> DirectedGraph<A,B>
buildConnectivityGraph(java.util.List<B> nodeList, boolean[][] cChart)
           
static boolean[][] buildIntersectionChart(BSPTree[] bspList)
           
static boolean[][] buildIntersectionChart(PolygonalMesh[] meshList, double tol)
           
static boolean[][] buildIntersectionChart(Sphere[] sphereList)
           
static void buildSpatialPartition(DirectedGraph<BSPTree,BSPTree> graph, BSPTree base)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntersectionFactory

public IntersectionFactory()
Method Detail

buildConnectivityGraph

public static <A,B> DirectedGraph<A,B> buildConnectivityGraph(B[] nodeList,
                                                              boolean[][] cChart)

buildConnectivityGraph

public static <A,B> DirectedGraph<A,B> buildConnectivityGraph(java.util.List<B> nodeList,
                                                              boolean[][] cChart)

buildConnectivityGraph

public static DirectedGraph<int[],java.lang.Integer> buildConnectivityGraph(boolean[][] cChart)

buildIntersectionChart

public static boolean[][] buildIntersectionChart(Sphere[] sphereList)

buildIntersectionChart

public static boolean[][] buildIntersectionChart(BSPTree[] bspList)

buildIntersectionChart

public static boolean[][] buildIntersectionChart(PolygonalMesh[] meshList,
                                                 double tol)

buildSpatialPartition

public static void buildSpatialPartition(DirectedGraph<BSPTree,BSPTree> graph,
                                         BSPTree base)