IMcProfileEdgesEdgeDistances Property
|
|
Distances to the edges on all or selected profiles.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxReadOnly Property EdgeDistances (
<OptionalAttribute> Selector As Object
) As Object
Get
Parameters
- Selector (Optional)
- Type: SystemObject
An empty variant, a single negative value, a single index value,
or an array of zero or more index values (negative index values are legal
but will be ignored).
If the Selector argument is a non-negative scalar index value, then the edge
distances for just the indicated profile is returned as a 1-D array of
Double. The index value must fall between zero and
ProfilesAncestor.CountOfProfiles-1.
If the Selector argument is Empty, Error or Null, or any negative scalar
value, then edge distances are returned for all
ProfilesAncestor.CountOfProfiles profiles. In this case, the returned value
will be an array of Variant, where each Variant is a 1-D array that is the
edge distances from the ProfilesAncestor's profile at the same index.
If Selector is an array, then zero or positive values are treated as indices
into the ProfilesAncestor profiles, negative values are legal but ignored.
In this case, edge distances are returned only for the indicated profiles,
and the returned value is an array of Variant, with each holding one edge
distances array. Index values greater or equal to the
ProfilesAncestor.CountOfProfiles property are illegal.
Property Value
Type:
Object
RemarksIf the ProfilesAncestor McLineProfiles.CalibratedLength property is True
and the ancestor McImage.SpatialCalibration property is set, then edge distances
are in calibrated units. Otherwise, distances are in pixel units.
If results from only one profile are requested, edge distances are returned as a
1-D array of Double. If results from all or an array of profiles are requested
(even if there is only one), then edge distances are returned as an array of
Variant, with each Variant holding the edge distances from one profile as a 1-D
array of Double.
See Also