Package net.lucidviews.geoalgo.limb.intersection

Examples of net.lucidviews.geoalgo.limb.intersection.IIntersectionGenerator


    if (this.intersectionProcessors == null)
      throw new IllegalStateException( "Illegal call to compute limbs when the intersection processor has not been set." );
    if (this.limbRefiners == null)
      throw new IllegalStateException( "Illegal call to compute limbs when the limb refiner has not been set." );
   
    IIntersectionGenerator intersectionGenerator = this.intersectionGeneratorClass.newInstance();
    intersectionGenerator.setOptions( options );
    intersectionGenerator.setShape( view );
   
    List<Limb> limbs = new ArrayList<Limb>();
   
    while (features.hasNext())
    {
      Feature feature = features.next();
     
      // Generate the intersections for this feature.
      Geometry intersections = intersectionGenerator.generateIntersections( feature );
      if (intersections != null)
      {
        int numOfIntersections = intersections.getNumGeometries();
        for (int i=0; i<numOfIntersections; i++)
        {
View Full Code Here

TOP

Related Classes of net.lucidviews.geoalgo.limb.intersection.IIntersectionGenerator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.