c

org.locationtech.jts.noding

BasicSegmentString

class BasicSegmentString extends SegmentString

Represents a list of contiguous line segments, and supports noding the segments. The line segments are represented by an array of {link Coordinate}s. Intended to optimize the noding of contiguous segments by reducing the number of allocated objects. SegmentStrings can carry a context object, which is useful for preserving topological or parentage information. All noded substrings are initialized with the same context object.

Version

1.7

Linear Supertypes
SegmentString, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BasicSegmentString
  2. SegmentString
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BasicSegmentString(pts: Array[Coordinate], data: Any)

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 data: Any
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def getCoordinate(i: Int): Coordinate
    Definition Classes
    BasicSegmentStringSegmentString
  12. def getCoordinates: Array[Coordinate]
    Definition Classes
    BasicSegmentStringSegmentString
  13. def getData: Any

    Gets the user-defined data for this segment string.

    Gets the user-defined data for this segment string.

    return the user-defined data

    Definition Classes
    BasicSegmentStringSegmentString
  14. def getSegmentOctant(index: Int): Int

    Gets the octant of the segment starting at vertex index.

    Gets the octant of the segment starting at vertex index.

    index

    the index of the vertex starting the segment. Must not be the last index in the vertex list return the octant of the segment at the vertex

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def isClosed: Boolean
    Definition Classes
    BasicSegmentStringSegmentString
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. var pts: Array[Coordinate]
  22. def setData(data: Any): Unit

    Sets the user-defined data for this segment string.

    Sets the user-defined data for this segment string.

    data

    an Object containing user-defined data

    Definition Classes
    BasicSegmentStringSegmentString
  23. def size: Int
    Definition Classes
    BasicSegmentStringSegmentString
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    BasicSegmentString → AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from SegmentString

Inherited from AnyRef

Inherited from Any

Ungrouped