ISegmentGraphCursor Interface

Provides access to members that define and manipulate a way of navigating over segments topologically structured within a segment graph.

Members

Name Description
Read-only property CurrentTrace The current trace - a history of MoveTo/s and FinishMoveTo's within the segment graph since it was created or since the last call to Reset on this cursor.
Method FinishMoveTo Moves from the current edge to the adjacent edge closest to newLocation. Used only when MoveTo returns false.
Read-only property Location The current location of the SegmentGraphCursor.
Method MoveTo Moves from the current edge to an adjacent edge closest to newLocation. Returns true when that move is clear, or false if it crosses a multi-way branch (in that case, then use FinishMoveTo).
Method QueryLocation Copies the current location of the SegmentGraphCursor into the specified point.
Method Reset Resets the location of the SegmentGraphCursor to a specified StartPoint.

ISegmentGraphCursor.CurrentTrace Property

The current trace - a history of MoveTo/s and FinishMoveTo's within the segment graph since it was created or since the last call to Reset on this cursor.

Public ReadOnly Property CurrentTrace As IPolyline
public IPolyline CurrentTrace {get;}

ISegmentGraphCursor.FinishMoveTo Method

Moves from the current edge to the adjacent edge closest to newLocation. Used only when MoveTo returns false.

Public Sub FinishMoveTo ( _
    ByVal newLocation As IPoint _
)
public void FinishMoveTo (
    IPoint newLocation
);

ISegmentGraphCursor.Location Property

The current location of the SegmentGraphCursor.

Public ReadOnly Property Location As IPoint
public IPoint Location {get;}

ISegmentGraphCursor.MoveTo Method

Moves from the current edge to an adjacent edge closest to newLocation. Returns true when that move is clear, or false if it crosses a multi-way branch (in that case, then use FinishMoveTo).

Public Function MoveTo ( _
    ByVal newLocation As IPoint _
) As Boolean
public bool MoveTo (
    IPoint newLocation
);

ISegmentGraphCursor.QueryLocation Method

Copies the current location of the SegmentGraphCursor into the specified point.

Public Sub QueryLocation ( _
    ByVal currentGraphLocation As IPoint _
)
public void QueryLocation (
    IPoint currentGraphLocation
);

ISegmentGraphCursor.Reset Method

Resets the location of the SegmentGraphCursor to a specified StartPoint.

Public Sub Reset ( _
    ByVal startPoint As IPoint _
)
public void Reset (
    IPoint startPoint
);

Classes that implement ISegmentGraphCursor

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.