Class GraphComponent
A GraphComponent is the parent class for the objects'
that form a graph. Each GraphComponent can carry a
Label.
Inheritance
GraphComponent
Assembly: NetTopologySuite.dll
Syntax
public abstract class GraphComponent
Constructors
|
Improve this Doc
View Source
GraphComponent()
Declaration
protected GraphComponent()
|
Improve this Doc
View Source
GraphComponent(Label)
Declaration
protected GraphComponent(Label label)
Parameters
Type |
Name |
Description |
Label |
label |
|
Properties
|
Improve this Doc
View Source
Coordinate
Declaration
public abstract Coordinate Coordinate { get; protected set; }
Property Value
Type |
Description |
Coordinate |
A coordinate in this component (or null, if there are none).
|
|
Improve this Doc
View Source
Covered
Declaration
public bool Covered { get; set; }
Property Value
|
Improve this Doc
View Source
InResult
Declaration
public bool InResult { get; set; }
Property Value
|
Improve this Doc
View Source
IsCovered
Declaration
public bool IsCovered { get; }
Property Value
|
Improve this Doc
View Source
IsCoveredSet
Declaration
public bool IsCoveredSet { get; }
Property Value
|
Improve this Doc
View Source
IsInResult
IsInResult indicates if this component has already been included in the result.
Declaration
public bool IsInResult { get; }
Property Value
|
Improve this Doc
View Source
IsIsolated
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.
Declaration
public abstract bool IsIsolated { get; }
Property Value
Type |
Description |
Boolean |
true if this component is isolated.
|
|
Improve this Doc
View Source
IsVisited
Declaration
public bool IsVisited { get; }
Property Value
|
Improve this Doc
View Source
Label
Declaration
public Label Label { get; protected set; }
Property Value
|
Improve this Doc
View Source
Visited
Declaration
public bool Visited { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ComputeIM(IntersectionMatrix)
Compute the contribution to an IM for this component.
Declaration
public abstract void ComputeIM(IntersectionMatrix im)
Parameters
|
Improve this Doc
View Source
UpdateIM(IntersectionMatrix)
Update the IM with the contribution for this component.
A component only contributes if it has a labelling for both parent geometries.
Declaration
public void UpdateIM(IntersectionMatrix im)
Parameters