class PointLocator extends AnyRef
Computes the topological ({link Location}) of a single point to a {link Geometry}. A {link BoundaryNodeRule} may be specified to control the evaluation of whether the point lies on the boundary or not The default rule is to use the the SFS Boundary Determination Rule
Notes:
- {link LinearRing}s do not enclose any area - points inside the ring are still in the EXTERIOR of the ring.
Instances of this class are not reentrant.
- Version
1.7
- Alphabetic
- By Inheritance
- PointLocator
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PointLocator(boundaryRule: BoundaryNodeRule = BoundaryNodeRule.OGC_SFS_BOUNDARY_RULE)
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()
- 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()
- def intersects(p: Coordinate, geom: Geometry): Boolean
Convenience method to test a point for intersection with a Geometry
Convenience method to test a point for intersection with a Geometry
- p
the coordinate to test
- geom
the Geometry to test return
trueif the point is in the interior or boundary of the Geometry
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def locate(p: Coordinate, geom: Geometry): Int
Computes the topological relationship ({link Location}) of a single point to a Geometry.
Computes the topological relationship ({link Location}) of a single point to a Geometry. It handles both single-element and multi-element Geometries. The algorithm for multi-part Geometries takes into account the SFS Boundary Determination Rule.
return the { @link Location} of the point relative to the input Geometry
- 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()