Double class

Packed coordinate sequence implementation based on doubles

Inheritance

Constructors

Double(List<double> coords, int dimension, int measures)
Builds a new packed coordinate sequence
Double.fromCoordinates(List<Coordinate> coordinates)
Builds a new packed coordinate sequence out of a coordinate array
Double.fromCoordinatesDim(List<Coordinate> coordinates, int dimension)
Builds a new packed coordinate sequence out of a coordinate array
Double.fromCoordinatesDimMeas(List<Coordinate>? coordinates, int dimension, int measures)
Builds a new packed coordinate sequence out of a coordinate array
Double.fromSizeDimMeas(int size, int dimension, int measures)
Builds a new empty packed coordinate sequence of a given size and dimension

Properties

coordRef List<Coordinate>?
A soft reference to the List
getter/setter pairinherited
coords List<double>
The packed coordinate array
getter/setter pair
dimension int
The dimensions of the coordinates held in the packed array
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
measures int
The number of measures of the coordinates held in the packed array.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asString() String
inherited
clone() Object
@see java.lang.Object#clone() @see PackedCoordinateSequence#clone() @deprecated
override
copy() Double
@see PackedCoordinateSequence#size()
override
createCoordinate() Coordinate
Creates a coordinate for use in this sequence.
inherited
expandEnvelope(Envelope env) Envelope
@see CoordinateSequence#expandEnvelope(Envelope)
override
getCachedCoords() List<Coordinate>?
inherited
getCoordinate(int i) Coordinate
@see CoordinateSequence#getCoordinate(int)
inherited
getCoordinateCopy(int i) Coordinate
@see CoordinateSequence#getCoordinate(int)
inherited
getCoordinateInternal(int i) Coordinate
@see PackedCoordinateSequence#getCoordinate(int)
override
getCoordinateInto(int i, Coordinate coord) → void
@see CoordinateSequence#getCoordinate(int)
inherited
getDimension() int
@see CoordinateSequence#getDimension()
inherited
getM(int index) double
Returns ordinate M of the specified coordinate if available.
inherited
getMeasures() int
@see CoordinateSequence#getMeasures()
inherited
getOrdinate(int index, int ordinate) double
@see PackedCoordinateSequence#getOrdinate(int, int) Beware, for performance reasons the ordinate index is not checked, if it's over dimensions you may not get an exception but a meaningless value.
override
getRawCoordinates() List<double?>
Gets the underlying array containing the coordinate values.
getX(int index) double
@see CoordinateSequence#getX(int)
inherited
getY(int index) double
@see CoordinateSequence#getY(int)
inherited
getZ(int index) double
Returns ordinate Z of the specified coordinate if available.
inherited
hasM() bool
Checks {@link #getMeasures()} to determine if {@link #getM(int)} is supported.
inherited
hasZ() bool
Checks {@link #getDimension()} and {@link #getMeasures()} to determine if {@link #getZ(int)} is supported.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setOrdinate(int index, int ordinate, double value) → void
@see PackedCoordinateSequence#setOrdinate(int, int, double)
override
setX(int index, double value) → void
Sets the first ordinate of a coordinate in this sequence.
inherited
setY(int index, double value) → void
Sets the second ordinate of a coordinate in this sequence.
inherited
size() int
@see CoordinateSequence#size()
override
toCoordinateArray() List<Coordinate>
@see CoordinateSequence#toCoordinateArray()
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited