org.h2gis.utilities.jts_utils
Class Contouring

java.lang.Object
  extended by org.h2gis.utilities.jts_utils.Contouring

public class Contouring
extends Object

Split triangle into area within the specified range values. ********************************* ANR EvalPDU IFSTTAR 11_05_2011

Author:
Nicolas FORTIN, Judicaƫl PICAUT

Constructor Summary
Contouring()
           
 
Method Summary
static Map<Short,Deque<TriMarkers>> processTriangle(TriMarkers triangleData, List<Double> isoLvls)
           
static boolean splitInterval(double beginIncluded, double endExcluded, TriMarkers currentTriangle, Deque<TriMarkers> outsideTriangles, Deque<TriMarkers> intervalTriangles)
          Use interval to split the triangle into severals ones
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Contouring

public Contouring()
Method Detail

splitInterval

public static boolean splitInterval(double beginIncluded,
                                    double endExcluded,
                                    TriMarkers currentTriangle,
                                    Deque<TriMarkers> outsideTriangles,
                                    Deque<TriMarkers> intervalTriangles)
                             throws com.vividsolutions.jts.geom.TopologyException
Use interval to split the triangle into severals ones

Returns:
False if the entire geometry is outside of the region, true if outsideTriangles or intervalTriangles has been updated.
Throws:
com.vividsolutions.jts.geom.TopologyException

processTriangle

public static Map<Short,Deque<TriMarkers>> processTriangle(TriMarkers triangleData,
                                                           List<Double> isoLvls)
                                                    throws com.vividsolutions.jts.geom.TopologyException
Parameters:
triangleData - Triangle Coordinates and Marker values
isoLvls - Iso level to extract.
Returns:
processedTriangles Return sub-triangle corresponding to iso levels. iso level are stored in markers (same for m0,m1,m2)
Throws:
com.vividsolutions.jts.geom.TopologyException


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.