object CoordinateSequence
The internal representation of a list of coordinates inside a Geometry.
This allows Geometries to store their points using something other than the JTS {link Coordinate} class. For example, a storage-efficient implementation might store coordinate sequences as an array of x's and an array of y's. Or a custom coordinate class might support extra attributes like M-values.
Implementing a custom coordinate storage structure requires implementing the {link CoordinateSequence} and {link CoordinateSequenceFactory} interfaces. To use the custom CoordinateSequence, create a new {link GeometryFactory} parameterized by the CoordinateSequenceFactory The {link GeometryFactory} can then be used to create new {link Geometry}s. The new Geometries will use the custom CoordinateSequence implementation.
For an example, see the code for {link ExtendedCoordinateExample}.
- Version
1.7
- See also
CoordinateArraySequenceFactory
PackedCoordinateSequenceFactory
ExtendedCoordinateExample
- Alphabetic
- By Inheritance
- CoordinateSequence
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- val M: Int
Standard ordinate index value for, where M is 3.
Standard ordinate index value for, where M is 3.
This constant assumes XYZM coordinate sequence definition, please check this assumption using {link #getDimension()} and {link #getMeasures()} before use.
- val X: Int
Standard ordinate index value for, where X is 0
- val Y: Int
Standard ordinate index value for, where Y is 1
- val Z: Int
Standard z-ordinate index
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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 hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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()