Click or drag to resize

LinesOperatorsmLnSegmentCount Method

Count of non-degenerate segments.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function mLnSegmentCount ( 
	lines As McLines
) As McMeasure

Parameters

lines
Type: MediaCy.IQL.FeaturesMcLines

Return Value

Type: McMeasure

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type McLines. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
A single point will be reported as zero segments and any identical, adjacent verticies are automatically remove and so will not be counted as a segment. The segment count will be one for a simple line and greater than one for a polyline.
See Also