Packages

  • package root
    Definition Classes
    root
  • package org
    Definition Classes
    root
  • package locationtech
    Definition Classes
    org
  • package jts
    Definition Classes
    locationtech
  • package algorithm
    Definition Classes
    jts
  • object BoundaryNodeRule

    An interface for rules which determine whether node points which are in boundaries of {link Lineal} geometry components are in the boundary of the parent geometry collection.

    An interface for rules which determine whether node points which are in boundaries of {link Lineal} geometry components are in the boundary of the parent geometry collection. The SFS specifies a single kind of boundary node rule, the {link Mod2BoundaryNodeRule} rule. However, other kinds of Boundary Node Rules are appropriate in specific situations (for instance, linear network topology usually follows the {link EndPointBoundaryNodeRule}.) Some JTS operations (such as {link RelateOp}, {link BoundaryOp} and {link IsSimpleOp}) allow the BoundaryNodeRule to be specified, and respect the supplied rule when computing the results of the operation.

    An example use case for a non-SFS-standard Boundary Node Rule is that of checking that a set of {link LineString}s have valid linear network topology, when turn-arounds are represented as closed rings. In this situation, the entry road to the turn-around is only valid when it touches the turn-around ring at the single (common) endpoint. This is equivalent to requiring the set of LineStrings to be simple under the {link EndPointBoundaryNodeRule}. The SFS-standard {link Mod2BoundaryNodeRule} is not sufficient to perform this test, since it states that closed rings have no boundary points.

    This interface and its subclasses follow the Strategy design pattern.

    Definition Classes
    algorithm
    Version

    1.7

    See also

    RelateOp

    BoundaryOp

    IsSimpleOp

    PointLocator

  • EndPointBoundaryNodeRule
  • Mod2BoundaryNodeRule
  • MonoValentEndPointBoundaryNodeRule
  • MultiValentEndPointBoundaryNodeRule
c

org.locationtech.jts.algorithm.BoundaryNodeRule

MultiValentEndPointBoundaryNodeRule

class MultiValentEndPointBoundaryNodeRule extends BoundaryNodeRule

A {link BoundaryNodeRule} which determines that only endpoints with valency greater than 1 are on the boundary. This corresponds to the boundary of a {link MultiLineString} being all the "attached" endpoints, but not the "unattached" ones.

Version

1.7

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

Instance Constructors

  1. new MultiValentEndPointBoundaryNodeRule()

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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def isInBoundary(boundaryCount: Int): Boolean

    Tests whether a point that lies in boundaryCount geometry component boundaries is considered to form part of the boundary of the parent geometry.

    Tests whether a point that lies in boundaryCount geometry component boundaries is considered to form part of the boundary of the parent geometry.

    boundaryCount

    the number of component boundaries that this point occurs in return true if points in this number of boundaries lie in the parent boundary

    Definition Classes
    MultiValentEndPointBoundaryNodeRuleBoundaryNodeRule
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  20. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from BoundaryNodeRule

Inherited from AnyRef

Inherited from Any

Ungrouped