class Edge extends GraphComponent
- Alphabetic
- By Inheritance
- Edge
- GraphComponent
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Edge(pts: Array[Coordinate])
- new Edge(pts: Array[Coordinate], labelArg: Label)
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 addIntersection(li: LineIntersector, segmentIndex: Int, geomIndex: Int, intIndex: Int): Unit
Add an EdgeIntersection for intersection intIndex.
Add an EdgeIntersection for intersection intIndex. An intersection that falls exactly on a vertex of the edge is normalized to use the higher of the two possible segmentIndexes
- def addIntersections(li: LineIntersector, segmentIndex: Int, geomIndex: Int): Unit
Adds EdgeIntersections for one or both intersections found for a segment of an edge to the edge intersection list.
- 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 computeIM(im: IntersectionMatrix): Unit
Update the IM with the contribution for this component.
Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries
- Definition Classes
- Edge → GraphComponent
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(o: Any): Boolean
equals is defined to be:
equals is defined to be:
e1 equals e2 iff the coordinates of e1 are the same or the reverse of the coordinates in e2
- Definition Classes
- Edge → 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 getCollapsedEdge: Edge
- def getCoordinate: Coordinate
return a coordinate in this component (or null, if there are none)
return a coordinate in this component (or null, if there are none)
- Definition Classes
- Edge → GraphComponent
- def getCoordinate(i: Int): Coordinate
- def getCoordinates: Array[Coordinate]
- def getDepth: Depth
- def getDepthDelta: Int
The depthDelta is the change in depth as an edge is crossed from R to L
The depthDelta is the change in depth as an edge is crossed from R to L
return the change in depth as the edge is crossed from R to L
- def getEdgeIntersectionList: EdgeIntersectionList
- def getEnvelope: Envelope
- def getLabel: Label
- Definition Classes
- GraphComponent
- def getMaximumSegmentIndex: Int
- def getMonotoneChainEdge: MonotoneChainEdge
- def getNumPoints: Int
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isClosed: Boolean
- def isCollapsed: Boolean
An Edge is collapsed if it is an Area edge and it consists of two segments which are equal and opposite (eg a zero-width V).
- def isCovered: Boolean
- Definition Classes
- GraphComponent
- def isCoveredSet: Boolean
- Definition Classes
- GraphComponent
- def isInResult: Boolean
- Definition Classes
- GraphComponent
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIsolated: Boolean
An isolated component is one that does not intersect or touch any other component.
An isolated component is one that does not intersect or touch any other component. This is the case if the label has valid locations for only a single Geometry.
return true if this component is isolated
- Definition Classes
- Edge → GraphComponent
- def isPointwiseEqual(e: Edge): Boolean
return true if the coordinate sequences of the Edges are identical
- def isVisited: Boolean
- Definition Classes
- GraphComponent
- var label: Label
- Definition Classes
- GraphComponent
- val labelArg: Label
- 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
- def printReverse(out: PrintStream): Unit
- var pts: Array[Coordinate]
- def setCovered(isCovered: Boolean): Unit
- Definition Classes
- GraphComponent
- def setDepthDelta(depthDelta: Int): Unit
- def setInResult(isInResult: Boolean): Unit
- Definition Classes
- GraphComponent
- def setIsolated(isIsolated: Boolean): Unit
- def setLabel(label: Label): Unit
- Definition Classes
- GraphComponent
- def setName(name: String): Unit
- def setVisited(isVisited: Boolean): Unit
- Definition Classes
- GraphComponent
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- Edge → AnyRef → Any
- def updateIM(im: IntersectionMatrix): Unit
Update the IM with the contribution for this component.
Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries
- Definition Classes
- GraphComponent
- 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()