Packages

abstract class PackedCoordinateSequence extends CoordinateSequence with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PackedCoordinateSequence
  2. Serializable
  3. CoordinateSequence
  4. Cloneable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PackedCoordinateSequence(dimension: Int, measures: Int)
    Attributes
    protected

Abstract Value Members

  1. 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
    PackedCoordinateSequenceCoordinateSequence
  2. 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
  3. 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
  4. 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
    PackedCoordinateSequenceCoordinateSequence
    See also

    CoordinateSequence#getOrdinate(int, int)

  5. 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
    PackedCoordinateSequenceCoordinateSequence
  6. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. 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
  7. 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
  8. var dimension: Int
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. 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
    PackedCoordinateSequenceCoordinateSequence
  14. def getCoordinate(i: Int): Coordinate

    i

    the index of the coordinate to retrieve return the i'th coordinate in the sequence

    Definition Classes
    PackedCoordinateSequenceCoordinateSequence
    See also

    CoordinateSequence#getCoordinate(int)

  15. 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
    PackedCoordinateSequenceCoordinateSequence
  16. def getDimension: Int

    Definition Classes
    PackedCoordinateSequenceCoordinateSequence
    See also

    CoordinateSequence#getDimension()

  17. 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
  18. def getMeasures: Int

    Definition Classes
    PackedCoordinateSequenceCoordinateSequence
    See also

    CoordinateSequence#getMeasures()

  19. def getX(index: Int): Double

    index

    return the value of the X ordinate in the index'th coordinate

    Definition Classes
    PackedCoordinateSequenceCoordinateSequence
    See also

    CoordinateSequence#getX(int)

  20. def getY(index: Int): Double

    index

    return the value of the Y ordinate in the index'th coordinate

    Definition Classes
    PackedCoordinateSequenceCoordinateSequence
    See also

    CoordinateSequence#getY(int)

  21. 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
  22. 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)

  23. 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
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. var measures: Int
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def readResolve: PackedCoordinateSequence
    Attributes
    protected
    Annotations
    @throws(scala.this.throws.<init>$default$1[java.io.ObjectStreamException])
  31. 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

  32. 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

  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toCoordinateArray: Array[Coordinate]

    Definition Classes
    PackedCoordinateSequenceCoordinateSequence
    See also

    CoordinateSequence#toCoordinateArray()

  35. def toString(): String
    Definition Classes
    PackedCoordinateSequence → AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from CoordinateSequence

Inherited from Cloneable

Inherited from AnyRef

Inherited from Any

Ungrouped