|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectLines
public class Lines
A utility class to create line grids with basic attributes.
Constructor Summary | |
---|---|
Lines()
|
Method Summary | |
---|---|
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. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Lines()
Method Detail |
---|
public static SimpleFeatureSource createOrthoLines(ReferencedEnvelope bounds, Collection<OrthoLineDef> lineDefs)
bounds
- the bounding envelopelineDefs
- one or more ortho-line definitions
OrthoLineDef
public 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 line
public 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 features
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |