public class PointSequenceBuilders extends Object
PointSequenceBuilder
s.Constructor and Description |
---|
PointSequenceBuilders() |
Modifier and Type | Method and Description |
---|---|
static PointSequenceBuilder |
fixedSized(int numPoints,
DimensionalFlag flag,
CrsId crsId)
Creates a
PointSequenceBuilder of fixed size. |
static PointSequenceBuilder |
variableSized(DimensionalFlag flag,
CrsId crsId)
Creates a
PointSequenceBuilder of variable size. |
public static PointSequenceBuilder fixedSized(int numPoints, DimensionalFlag flag, CrsId crsId)
PointSequenceBuilder
of fixed size.
The returned PointSequenceBuilder
expects that exactly numPoints
will be
added to it.
numPoints
- the number of Point
s that will be added to the returned builder.flag
- the DimensionalFlag
for the PointSequence
being built by the returned builder.crsId
- the CrsId
for the Coordinate Reference System of the Point
s.PointSequenceBuilder
that builds a PointSequence
containing numPoints
Point
s.public static PointSequenceBuilder variableSized(DimensionalFlag flag, CrsId crsId)
PointSequenceBuilder
of variable size.flag
- the DimensionalFlag
for the PointSequence
being built by the returned builder.crsId
- the CrsId
for the Coordinate Reference System of the Point
s.PointSequenceBuilder
that builds a PointSequence
for an arbitrary number of Point
s.Copyright © 2015 geolatte.org. All rights reserved.