class DirectedEdge extends EdgeEnd
- Alphabetic
- By Inheritance
- DirectedEdge
- EdgeEnd
- Comparable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 compareDirection(e: EdgeEnd): Int
Implements the total order relation:
Implements the total order relation:
a has a greater angle with the positive x-axis than b
Using the obvious algorithm of simply computing the angle is not robust, since the angle calculation is obviously susceptible to roundoff. A robust algorithm is: - first compare the quadrant. If the quadrants are different, it it trivial to determine which vector is "greater". - if the vectors lie in the same quadrant, the computeOrientation function can be used to decide the relative orientation of the vectors.
- Definition Classes
- EdgeEnd
- def compareTo(e: EdgeEnd): Int
- Definition Classes
- EdgeEnd → Comparable
- def computeLabel(boundaryNodeRule: BoundaryNodeRule): Unit
- Definition Classes
- EdgeEnd
- val edg: Edge
- var edge: Edge
- Definition Classes
- EdgeEnd
- 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 getCoordinate: Coordinate
- Definition Classes
- EdgeEnd
- def getDepth(position: Int): Int
- def getDepthDelta: Int
- def getDirectedCoordinate: Coordinate
- Definition Classes
- EdgeEnd
- def getDx: Double
- Definition Classes
- EdgeEnd
- def getDy: Double
- Definition Classes
- EdgeEnd
- def getEdge: Edge
- Definition Classes
- DirectedEdge → EdgeEnd
- def getEdgeRing: EdgeRing
- def getLabel: Label
- Definition Classes
- EdgeEnd
- def getMinEdgeRing: EdgeRing
- def getNext: DirectedEdge
- def getNextMin: DirectedEdge
- def getNode: Node
- Definition Classes
- EdgeEnd
- def getQuadrant: Int
- Definition Classes
- EdgeEnd
- def getSym: DirectedEdge
Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions.
Each Edge gives rise to a pair of symmetric DirectedEdges, in opposite directions.
return the DirectedEdge for the same Edge but in the opposite direction
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def init(p0: Coordinate, p1: Coordinate): Unit
- Attributes
- protected
- Definition Classes
- EdgeEnd
- def isForward: Boolean
- def isInResult: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isInteriorAreaEdge: Boolean
This is an interior Area edge if
This is an interior Area edge if
- its label is an Area label for both Geometries
- and for each Geometry both sides are in the interior.
return true if this is an interior Area edge
- def isLineEdge: Boolean
This edge is a line edge if
This edge is a line edge if
- at least one of the labels is a line label
- any labels which are not line labels have all Locations = EXTERIOR
- def isVisited: Boolean
- var label: Label
- Attributes
- protected
- Definition Classes
- EdgeEnd
- 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 print(out: PrintStream): Unit
- Definition Classes
- DirectedEdge → EdgeEnd
- def printEdge(out: PrintStream): Unit
- def setDepth(position: Int, depthVal: Int): Unit
- def setEdgeDepths(position: Int, depth: Int): Unit
Set both edge depths.
Set both edge depths. One depth for a given side is provided. The other is computed depending on the Location transition and the depthDelta of the edge.
- def setEdgeRing(edgeRing: EdgeRing): Unit
- def setInResult(isInResult: Boolean): Unit
- def setMinEdgeRing(minEdgeRing: EdgeRing): Unit
- def setNext(next: DirectedEdge): Unit
- def setNextMin(nextMin: DirectedEdge): Unit
- def setNode(node: Node): Unit
- Definition Classes
- EdgeEnd
- def setSym(de: DirectedEdge): Unit
- def setVisited(isVisited: Boolean): Unit
- def setVisitedEdge(isVisited: Boolean): Unit
setVisitedEdge marks both DirectedEdges attached to a given Edge.
setVisitedEdge marks both DirectedEdges attached to a given Edge. This is used for edges corresponding to lines, which will only appear oriented in a single direction in the result.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- EdgeEnd → AnyRef → Any
- var visForward: Boolean
- 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()