Returns the segment info of the segment preceding the segment of the given segment info.

Namespace: yWorks.yFiles.Layout.Router.Polyline
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public virtual SegmentInfo GetPreviousSegment( SegmentInfo segment )
Visual Basic
Public Overridable Function GetPreviousSegment ( _ segment As SegmentInfo _ ) As SegmentInfo

Parameters

segment
Type: yWorks.yFiles.Layout.Router.Polyline..::..SegmentInfo
The segmentInfo for which the previous segment info shall be returned.

Return Value

The segment info of the segment preceding the segment of the given segment info.

Remarks

Returns the segment info of the segment preceding the segment of the given segment info.

See Also