public class LiteCoordinateSequenceFactory extends Object implements CoordinateSequenceFactory
Constructor and Description |
---|
LiteCoordinateSequenceFactory() |
Modifier and Type | Method and Description |
---|---|
CoordinateSequence |
create(Coordinate[] coordinates) |
CoordinateSequence |
create(CoordinateSequence coordSeq) |
CoordinateSequence |
create(double[] points) |
CoordinateSequence |
create(double[] points,
int dimension) |
CoordinateSequence |
create(int size,
int dimension) |
CoordinateSequence |
create(int size,
int dimension,
int measures) |
static LiteCoordinateSequence |
lite(CoordinateSequence cs)
Cast to a
LiteCoordinateSequence
This method first checks if cs is an instanceof LiteCoordinateSequence ,
if it is, itself is returned. |
public CoordinateSequence create(Coordinate[] coordinates)
create
in interface CoordinateSequenceFactory
public CoordinateSequence create(CoordinateSequence coordSeq)
create
in interface CoordinateSequenceFactory
public CoordinateSequence create(int size, int dimension)
create
in interface CoordinateSequenceFactory
public CoordinateSequence create(double[] points)
points
- public CoordinateSequence create(double[] points, int dimension)
points
- public CoordinateSequence create(int size, int dimension, int measures)
create
in interface CoordinateSequenceFactory
public static LiteCoordinateSequence lite(CoordinateSequence cs)
LiteCoordinateSequence
This method first checks if cs is an instanceof LiteCoordinateSequence
,
if it is, itself is returned. If not, cs is cloned into a new LiteCoordinateSequence
If cs is null, null is returned.
cs
- The source CoordinateSequence
. Can be null.Copyright © 1996–2019 Geotools. All rights reserved.