class FacetSequence extends AnyRef
Represents a sequence of facets (points or line segments) of a {link Geometry} specified by a subsequence of a {link CoordinateSequence}.
- Alphabetic
- By Inheritance
- FacetSequence
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new FacetSequence(pts: CoordinateSequence, start: Int)
Creates a new sequence for a single point from a {link CoordinateSequence}.
Creates a new sequence for a single point from a {link CoordinateSequence}.
- pts
the sequence containing the facet point
- start
the index of the point
- new FacetSequence(pts: CoordinateSequence, start: Int, end: Int)
Creates a new sequence of facets based on a {link CoordinateSequence}.
Creates a new sequence of facets based on a {link CoordinateSequence}.
- pts
the sequence containing the facet points
- start
the index of the start point
- end
the index of the end point + 1
- new FacetSequence(geom: Geometry, pts: CoordinateSequence, start: Int, end: Int)
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()
- def distance(facetSeq: FacetSequence): Double
Computes the distance between this and another FacetSequence.
Computes the distance between this and another FacetSequence.
- facetSeq
the sequence to compute the distance to return the minimum distance between the sequences
- val end: 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])
- val geom: Geometry
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCoordinate(index: Int): Coordinate
- def getEnvelope: Envelope
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPoint: Boolean
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nearestLocations(facetSeq: FacetSequence): Array[GeometryLocation]
Computes the locations of the nearest points between this sequence and another sequence.
Computes the locations of the nearest points between this sequence and another sequence. The locations are presented in the same order as the input sequences.
return a pair of { @link GeometryLocation}s for the nearest points
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val pts: CoordinateSequence
- def size: Int
- val start: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- FacetSequence → 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()