Click or drag to resize

LinesOperatorsmLnChordRatio Method

Ratio of the chord length, mLnChordLength, to the total length, mLnLength.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function mLnChordRatio ( 
	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
The chord is the line connecting the start to the end point of the line. This measurement will differ from 1.0 only for polylines (mLnSegmentCount greater than 1). For polylines it will range from 1.0 (a straight line) to zero for a widely ranging polyline or one that curves back on itself. In the case of a degenerate chord (i.e., identical start and end points) the result will be zero.
See Also