class DistanceOp extends AnyRef
- Alphabetic
- By Inheritance
- DistanceOp
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DistanceOp(g0: Geometry, g1: Geometry)
Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries.
Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries.
- g0
a Geometry
- g1
a Geometry
- new DistanceOp(g0: Geometry, g1: Geometry, terminateDistance: Double)
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
- val baseGeometry: Array[Geometry]
Constructs a DistanceOp that computes the distance and nearest points between the two specified geometries.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def distance: Double
Report the distance between the nearest points on the input geometries.
Report the distance between the nearest points on the input geometries.
return the distance between the geometries or 0 if either input geometry is empty throws IllegalArgumentException if either input geometry is null
- 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 g0: Geometry
- val g1: Geometry
- 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
- def nearestLocations: Array[GeometryLocation]
Report the locations of the nearest points in the input geometries.
Report the locations of the nearest points in the input geometries. The locations are presented in the same order as the input Geometries.
return a pair of { @link GeometryLocation}s for the nearest points
- def nearestPoints: Array[Coordinate]
Report the coordinates of the nearest points in the input geometries.
Report the coordinates of the nearest points in the input geometries. The points are presented in the same order as the input Geometries.
return a pair of { @link Coordinate}s of the nearest points
- 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
- val terminateDistance: Double
- 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()
Deprecated Value Members
- def closestLocations: Array[GeometryLocation]
return a pair of { @link GeometryLocation}s for the nearest points
return a pair of { @link GeometryLocation}s for the nearest points
- Deprecated
renamed to nearestLocations
- def closestPoints: Array[Coordinate]
return a pair of { @link Coordinate}s of the nearest points
return a pair of { @link Coordinate}s of the nearest points
- Deprecated
renamed to nearestPoints