org.h2gis.utilities.jts_utils
Class Contouring
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Contouring
public Contouring()
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 valuesisoLvls - 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.