Package org.geotools.process.vector
Class Contours
- Object
-
- Contours
-
public class Contours extends Object
-
-
Constructor Summary
Constructors Constructor Description Contours()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SimpleFeatureCollection
contour(FeatureCollection features, String elevation)
ArrayList<LineString>
extractContour(Collection<QuadEdge> primaryEdges, double contourValue)
double[]
getLevels()
void
setLevels(double[] levels)
void
setProgressListener(ProgressListener progressListener)
void
setSimplify(boolean booleanValue)
void
setSmooth(boolean booleanValue)
-
-
-
Method Detail
-
contour
public SimpleFeatureCollection contour(FeatureCollection features, String elevation)
-
extractContour
public ArrayList<LineString> extractContour(Collection<QuadEdge> primaryEdges, double contourValue)
- Parameters:
primaryEdges
-contourValue
-- Returns:
-
getLevels
public double[] getLevels()
- Returns:
- the levels
-
setLevels
public void setLevels(double[] levels)
- Parameters:
levels
- the levels to set
-
setSmooth
public void setSmooth(boolean booleanValue)
- Parameters:
booleanValue
-
-
setSimplify
public void setSimplify(boolean booleanValue)
- Parameters:
booleanValue
-
-
setProgressListener
public void setProgressListener(ProgressListener progressListener)
- Parameters:
progressListener
-
-
-