Search Results for

    Show / Hide Table of Contents

    Class GraphComponent

    A GraphComponent is the parent class for the objects' that form a graph. Each GraphComponent can carry a Label.

    Inheritance
    object
    GraphComponent
    Edge
    Node
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.GeometriesGraph
    Assembly: NetTopologySuite.dll
    Syntax
    public abstract class GraphComponent

    Constructors

    | Edit this page View Source

    GraphComponent()

    Declaration
    protected GraphComponent()
    | Edit this page View Source

    GraphComponent(Label)

    Declaration
    protected GraphComponent(Label label)
    Parameters
    Type Name Description
    Label label

    Properties

    | Edit this page 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).

    | Edit this page View Source

    Covered

    Declaration
    public bool Covered { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    InResult

    Declaration
    public bool InResult { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsCovered

    Declaration
    public bool IsCovered { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsCoveredSet

    Declaration
    public bool IsCoveredSet { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    IsInResult

    IsInResult indicates if this component has already been included in the result.

    Declaration
    public bool IsInResult { get; }
    Property Value
    Type Description
    bool
    | Edit this page 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
    bool

    true if this component is isolated.

    | Edit this page View Source

    IsVisited

    Declaration
    public bool IsVisited { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Label

    Declaration
    public Label Label { get; protected set; }
    Property Value
    Type Description
    Label
    | Edit this page View Source

    Visited

    Declaration
    public bool Visited { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    ComputeIM(IntersectionMatrix)

    Compute the contribution to an IM for this component.

    Declaration
    public abstract void ComputeIM(IntersectionMatrix im)
    Parameters
    Type Name Description
    IntersectionMatrix im

    An IntersectionMatrix

    | Edit this page 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
    Type Name Description
    IntersectionMatrix im

    An IntersectionMatrix

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX