Click or drag to resize

LinesOperatorsmaLnPositionXY Method

The X,Y coordinates of the mean position of the line.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function maLnPositionXY ( 
	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 spatially calibrated coordinates of line mean position is returned as a length-2 array, X followed by Y. The Value for N lines is exposed as a 2-dimensional array of 2 by N. For a polyline (mLnSegmentCount greater than 1), the mean position will usually not fall on the polyline. The mean position coordinate is computed as the mean of the coordinates of the center of each line segment, weighted by segment length.
See Also