createEdgeSetIntersector method

EdgeSetIntersector createEdgeSetIntersector()

Implementation

EdgeSetIntersector createEdgeSetIntersector() {
  // various options for computing intersections, from slowest to fastest

  // EdgeSetIntersector esi = new SimpleEdgeSetIntersector();
  // EdgeSetIntersector esi = new MonotoneChainIntersector();
  // EdgeSetIntersector esi = new NonReversingChainIntersector();
  // EdgeSetIntersector esi = new SimpleSweepLineIntersector();
  // EdgeSetIntersector esi = new MCSweepLineIntersector();

  //return new SimpleEdgeSetIntersector();
  return new SimpleMCSweepLineIntersector();
}