Description

Lines connecting the features positions to the reference feature position as an McLines

Property type

A McMeasure object.  

Syntax

object.mlRefDistanceAsLine

The mlRefDistanceAsLine Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McRefFeatures.

Remarks

For each feature in the parent McFeatures, a line is added that connects the feature position to the zero'th feature's position in the reference McFeatures. All Value accesses reference the same McLines object, only its contents change.

The “position” of each feature and the reference feature depends on the type of McFeatures. For McPoints the position is the point location (maPtLocationXY), for McLines the postion is the line mean position (maLnPositionXY) and for McRegions the postion is the region centroid.

Each feature is associated with the corresponding reference feature to the exent possible, with reference features being reused as necessary. Thus if there is only one reference feature, then all distances will be to that. If there are as many reference features as measured features, then each feature distance will be to the reference feature with the same feature index.