class TopologyLocation extends AnyRef
A TopologyLocation is the labelling of a GraphComponent's topological relationship to a single Geometry.
If the parent component is an area edge, each side and the edge itself have a topological location. These locations are named
- ON: on the edge
- LEFT: left-hand side of the edge
- RIGHT: right-hand side
If the parent component is a line edge or node, there is a single topological relationship attribute, ON.
The possible values of a topological location are {Location.NONE, Location.EXTERIOR, Location.BOUNDARY, Location.INTERIOR}
The labelling is stored in an array location[j] where where j has the values ON, LEFT, RIGHT
- Version
1.7
- Alphabetic
- By Inheritance
- TopologyLocation
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TopologyLocation(gl: TopologyLocation)
- new TopologyLocation(on: Int)
- new TopologyLocation(on: Int, left: Int, right: Int)
Constructs a TopologyLocation specifying how points on, to the left of, and to the right of some GraphComponent relate to some Geometry.
Constructs a TopologyLocation specifying how points on, to the left of, and to the right of some GraphComponent relate to some Geometry. Possible values for the parameters are Location.NULL, Location.EXTERIOR, Location.BOUNDARY, and Location.INTERIOR.
- See also
Location
- new TopologyLocation(location: Array[Int] = Array.empty[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
- def allPositionsEqual(loc: Int): Boolean
- 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])
- def flip(): Unit
- def get(posIndex: Int): Int
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getLocations: Array[Int]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isAnyNull: Boolean
return true if any locations are NULL
- def isArea: Boolean
- def isEqualOnSide(le: TopologyLocation, locIndex: Int): Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLine: Boolean
- def isNull: Boolean
return true if all locations are NULL
- var location: Array[Int]
- def merge(gl: TopologyLocation): Unit
merge updates only the NULL attributes of this object with the attributes of another.
- 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()
- def setAllLocations(locValue: Int): Unit
- def setAllLocationsIfNull(locValue: Int): Unit
- def setLocation(locValue: Int): Unit
- def setLocation(locIndex: Int, locValue: Int): Unit
- def setLocations(on: Int, left: Int, right: Int): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- TopologyLocation → 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()