public class Lines extends Object
| Constructor and Description |
|---|
Lines() |
| Modifier and Type | Method and Description |
|---|---|
static SimpleFeatureSource |
createOrthoLines(ReferencedEnvelope bounds,
Collection<OrthoLineDef> lineDefs)
Creates a grid of ortho-lines.
|
static SimpleFeatureSource |
createOrthoLines(ReferencedEnvelope bounds,
Collection<OrthoLineDef> lineDefs,
double vertexSpacing)
Creates a grid of ortho-lines.
|
static SimpleFeatureSource |
createOrthoLines(ReferencedEnvelope bounds,
Collection<OrthoLineDef> lineDefs,
double vertexSpacing,
GridFeatureBuilder lineFeatureBuilder)
Creates a grid of ortho-lines.
|
public static SimpleFeatureSource createOrthoLines(ReferencedEnvelope bounds, Collection<OrthoLineDef> lineDefs)
bounds - the bounding envelopelineDefs - one or more ortho-line definitionsOrthoLineDefpublic static SimpleFeatureSource createOrthoLines(ReferencedEnvelope bounds, Collection<OrthoLineDef> lineDefs, double vertexSpacing)
vertexSpacing greater than zero; if so, any lines more than twice as long as this value will
be densified.bounds - the bounding envelopelineDefs - one or more ortho-line definitionsvertexSpacing - maximum distance between adjacent vertices along a linepublic static SimpleFeatureSource createOrthoLines(ReferencedEnvelope bounds, Collection<OrthoLineDef> lineDefs, double vertexSpacing, GridFeatureBuilder lineFeatureBuilder)
vertexSpacing greater than zero; if
so, any lines more than twice as long as this value will be densified.bounds - the bounding envelopelineDefs - one or more ortho-line definitionsvertexSpacing - maximum distance between adjacent vertices along a linelineFeatureBuilder - feature build to create line featuresCopyright © 1996–2019 Geotools. All rights reserved.