abstract class PackedCoordinateSequence extends CoordinateSequence with Serializable
- Annotations
- @SerialVersionUID()
- Alphabetic
- By Inheritance
- PackedCoordinateSequence
- Serializable
- CoordinateSequence
- Cloneable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PackedCoordinateSequence(dimension: Int, measures: Int)
- Attributes
- protected
Abstract Value Members
- abstract def copy: CoordinateSequence
Returns a deep copy of this collection.
Returns a deep copy of this collection.
return a copy of the coordinate sequence containing copies of all points
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- abstract def expandEnvelope(env: Envelope): Envelope
Expands the given {link Envelope} to include the coordinates in the sequence.
Expands the given {link Envelope} to include the coordinates in the sequence. Allows implementing classes to optimize access to coordinate values.
- env
the envelope to expand return a ref to the expanded envelope
- Definition Classes
- CoordinateSequence
- abstract def getCoordinateInternal(index: Int): Coordinate
Returns a Coordinate representation of the specified coordinate, by always building a new Coordinate object
Returns a Coordinate representation of the specified coordinate, by always building a new Coordinate object
- index
the coordinate index return the { @link Coordinate} at the given index
- Attributes
- protected
- abstract def getOrdinate(index: Int, ordinateIndex: Int): Double
- index
the coordinate index in the sequence
- ordinateIndex
the ordinate index in the coordinate (in range [0, dimension-1])
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- See also
CoordinateSequence#getOrdinate(int, int)
- abstract def setOrdinate(index: Int, ordinate: Int, value: Double): Unit
Sets the ordinate of a coordinate in this sequence.
Sets the ordinate of a coordinate in this sequence.
Warning: for performance reasons the ordinate index is not checked - if it is over dimensions you may not get an exception but a meaningless value.- index
the coordinate index
- ordinate
the ordinate index in the coordinate, 0 based, smaller than the number of dimensions
- value
the new ordinate value
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- abstract def size: Int
Returns the number of coordinates in this sequence.
Returns the number of coordinates in this sequence.
return the size of the sequence
- Definition Classes
- CoordinateSequence
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- var coordRef: SoftReference[Array[Coordinate]]
A soft reference to the Coordinate[] representation of this sequence.
A soft reference to the Coordinate[] representation of this sequence. Makes repeated coordinate array accesses more efficient.
- Attributes
- protected
- def createCoordinate: Coordinate
Creates a coordinate for use in this sequence.
Creates a coordinate for use in this sequence.
The coordinate is created supporting the same number of {link #getDimension()} and {link #getMeasures()} as this sequence and is suitable for use with {link #getCoordinate(int, Coordinate)}.
return coordinate for use with this sequence
- Definition Classes
- CoordinateSequence
- var dimension: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCoordinate(i: Int, coord: Coordinate): Unit
Copies the i'th coordinate in the sequence to the supplied {link Coordinate}.
Copies the i'th coordinate in the sequence to the supplied {link Coordinate}. Only the first two dimensions are copied.
- coord
a { @link Coordinate} to receive the value
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- def getCoordinate(i: Int): Coordinate
- i
the index of the coordinate to retrieve return the i'th coordinate in the sequence
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- See also
CoordinateSequence#getCoordinate(int)
- def getCoordinateCopy(i: Int): Coordinate
Returns a copy of the i'th coordinate in this sequence.
Returns a copy of the i'th coordinate in this sequence. This method optimizes the situation where the caller is going to make a copy anyway - if the implementation has already created a new Coordinate object, no further copy is needed.
- i
the index of the coordinate to retrieve return a copy of the i'th coordinate in the sequence
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- def getDimension: Int
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- See also
CoordinateSequence#getDimension()
- def getM(index: Int): Double
Returns ordinate M of the specified coordinate if available.
Returns ordinate M of the specified coordinate if available.
- index
return the value of the M ordinate in the index'th coordinate, or Double.NaN if not defined.
- Definition Classes
- CoordinateSequence
- def getMeasures: Int
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- See also
CoordinateSequence#getMeasures()
- def getX(index: Int): Double
- index
return the value of the X ordinate in the index'th coordinate
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- See also
CoordinateSequence#getX(int)
- def getY(index: Int): Double
- index
return the value of the Y ordinate in the index'th coordinate
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- See also
CoordinateSequence#getY(int)
- def getZ(index: Int): Double
Returns ordinate Z of the specified coordinate if available.
Returns ordinate Z of the specified coordinate if available.
- index
return the value of the Z ordinate in the index'th coordinate, or Double.NaN if not defined.
- Definition Classes
- CoordinateSequence
- def hasM: Boolean
Tests whether the coordinates in the sequence have measures associated with them.
Tests whether the coordinates in the sequence have measures associated with them. Returns true if {link #getMeasures()} > 0. See {link #getMeasures()} to determine the number of measures present.
return true if { @link #getM(int)} is supported.
- Definition Classes
- CoordinateSequence
- See also
#getMeasures()
#getM(int)
- def hasZ: Boolean
Checks {link #getDimension()} and {link #getMeasures()} to determine if {link #getZ(int)} is supported.
Checks {link #getDimension()} and {link #getMeasures()} to determine if {link #getZ(int)} is supported.
return true if { @link #getZ(int)} is supported.
- Definition Classes
- CoordinateSequence
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var measures: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def readResolve: PackedCoordinateSequence
- Attributes
- protected
- Annotations
- @throws(scala.this.throws.<init>$default$1[java.io.ObjectStreamException])
- def setX(index: Int, value: Double): Unit
Sets the first ordinate of a coordinate in this sequence.
Sets the first ordinate of a coordinate in this sequence.
- index
the coordinate index
- value
the new ordinate value
- def setY(index: Int, value: Double): Unit
Sets the second ordinate of a coordinate in this sequence.
Sets the second ordinate of a coordinate in this sequence.
- index
the coordinate index
- value
the new ordinate value
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toCoordinateArray: Array[Coordinate]
- Definition Classes
- PackedCoordinateSequence → CoordinateSequence
- See also
CoordinateSequence#toCoordinateArray()
- def toString(): String
- Definition Classes
- PackedCoordinateSequence → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()