public class OrthoLineBuilder extends Object
| Constructor and Description |
|---|
OrthoLineBuilder(ReferencedEnvelope gridBounds)
Creates a new builder for the specified envelope.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildGrid(Collection<OrthoLineDef> lineDefs,
GridFeatureBuilder lineFeatureBuilder,
double vertexSpacing,
ListFeatureCollection fc)
Creates line features according to the provided
OrthoLineDef objects and places them
into the provided ListFeatureCollection. |
public OrthoLineBuilder(ReferencedEnvelope gridBounds)
gridBounds - bounds of the area for which lines will be generatedpublic void buildGrid(Collection<OrthoLineDef> lineDefs, GridFeatureBuilder lineFeatureBuilder, double vertexSpacing, ListFeatureCollection fc)
OrthoLineDef objects and places them
into the provided ListFeatureCollection. Densified lines (lines strings with
additional vertices along their length) can be created by setting the value of vertexSpacing greater than zero; if so, any lines more than twice as long as this value will
be densified.lineDefs - line definitions specifying the orientation, spacing and level of lineslineFeatureBuilder - the feature build to create SimpleFeatures from line
elementsvertexSpacing - maximum distance between adjacent vertices along a linefc - the feature collection into which generated line features are placedCopyright © 1996–2019 Geotools. All rights reserved.