com.vividsolutions.jts.geom.impl
Class PackedCoordinateSequence.Float
- PackedCoordinateSequence
- Cloneable, CoordinateSequence
public static class PackedCoordinateSequence.Float
Packed coordinate sequence implementation based on floats
Float(Coordinate[] coordinates, int dimension) - Constructs a packed coordinate sequence out of a coordinate array
|
Float(double[] coordinates, int dimensions) - Constructs a packed coordinate sequence from an array of
double s
|
Float(float[] coords, int dimensions) - Constructs a packed coordinate sequence from an array of
float s
|
Float(int size, int dimension) - Constructs an empty packed coordinate sequence of a given size and dimension
|
clone , getCoordinate , getCoordinate , getCoordinateCopy , getCoordinateInternal , getDimension , getOrdinate , getX , getY , setOrdinate , setX , setY , toCoordinateArray |
Float
public Float(Coordinate[] coordinates,
int dimension)
Constructs a packed coordinate sequence out of a coordinate array
Float
public Float(double[] coordinates,
int dimensions)
Constructs a packed coordinate sequence from an array of double
s
Float
public Float(float[] coords,
int dimensions)
Constructs a packed coordinate sequence from an array of float
s
Float
public Float(int size,
int dimension)
Constructs an empty packed coordinate sequence of a given size and dimension
expandEnvelope
public Envelope expandEnvelope(Envelope env)
Expands the given
Envelope
to include the coordinates in the sequence.
Allows implementing classes to optimize access to coordinate values.
- expandEnvelope in interface CoordinateSequence
env
- the envelope to expand
- a ref to the expanded envelope