public class PointCollectionFactory extends Object
PointSequences.| Constructor and Description |
|---|
PointCollectionFactory() |
| Modifier and Type | Method and Description |
|---|---|
static PointSequence |
create(double[] coordinates,
DimensionalFlag dimensionalFlag,
CrsId crsId)
Creates a
PointSequence from a coordinate array. |
static PointCollection |
create(PointCollection[] pointCollections)
Creates a
PointCollection from the specified array of PointCollections. |
static PointSequence |
createEmpty()
Creates an empty
PointSequence. |
public static PointSequence createEmpty()
PointSequence.PointSequencepublic static PointSequence create(double[] coordinates, DimensionalFlag dimensionalFlag, CrsId crsId)
PointSequence from a coordinate array.
The coordinate array is copied to the new PointSequence.
coordinates - the coordinates of the new PointSequence.dimensionalFlag - the dimensions for the new PointSequencePointSequence with the specified coordinates and having the specified DimensionalFlag.public static PointCollection create(PointCollection[] pointCollections)
PointCollection from the specified array of PointCollections.
If the specified PointCollection array is null or empty, an empty PointSequence
will be created; otherwise a ComplexPointCollection.
pointCollections - the PointCollection to create the PointCollection fromPointCollectionCopyright © 2015 geolatte.org. All rights reserved.