public class PointSequenceBuilders extends Object
PointSequenceBuilders.| 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 Points 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 Points.PointSequenceBuilder that builds a PointSequence containing numPoints Points.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 Points.PointSequenceBuilder that builds a PointSequence for an arbitrary number of Points.Copyright © 2015 geolatte.org. All rights reserved.