Interface ISegmentGraphCursor

Namespace
ESRI.ArcGIS.Geometry
Assembly
ESRI.Server.Geometry.dll

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

[Guid("329BFBD8-0E2A-11D3-9F33-00C04F6BDD7F")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ISegmentGraphCursor

Properties

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.

IPolyline CurrentTrace { get; }

Property Value

IPolyline

Location

The current location of the SegmentGraphCursor.

IPoint Location { get; }

Property Value

IPoint

Methods

FinishMoveTo(IPoint)

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

void FinishMoveTo(IPoint newLocation)

Parameters

newLocation IPoint

MoveTo(IPoint)

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).

bool MoveTo(IPoint newLocation)

Parameters

newLocation IPoint

Returns

bool

QueryLocation(IPoint)

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

void QueryLocation(IPoint currentGraphLocation)

Parameters

currentGraphLocation IPoint

Reset(IPoint)

Resets the location of the SegmentGraphCursor to a specified StartPoint.

void Reset(IPoint startPoint)

Parameters

startPoint IPoint