GraphComponent class abstract
A GraphComponent is the parent class for the objects' that form a graph. Each GraphComponent can carry a Label. @version 1.7
Constructors
- GraphComponent()
- GraphComponent.fromLabel(Label? label)
Properties
Methods
-
computeIM(
IntersectionMatrix im) → void - compute the contribution to an IM for this component
-
getCoordinate(
) → Coordinate? - @return a coordinate in this component (or null, if there are none)
-
getLabel(
) → Label? -
isCovered(
) → bool -
isCoveredSet(
) → bool -
isInResult(
) → bool -
isIsolated(
) → bool - 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.
-
isVisited(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCovered(
bool isCovered) → void -
setInResult(
bool isInResult) → void -
setLabel(
Label label) → void -
setVisited(
bool isVisited) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateIM(
IntersectionMatrix im) → void - Update the IM with the contribution for this component. A component only contributes if it has a labelling for both parent geometries
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited