Description

Number of angles used in computing a variety of measurements

Property type

A Long value.  

Syntax

object.NumAngles [= value]

The NumAngles Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McMeasureAngles.
valueA Long value.

Remarks

The same NumAngles property is shared by the maRgnRadii, maRgnDiameters and mlCalipers measurements, so setting its value for one also sets it for the others. For these 2-dimensional measurements, the NumAngles property determines how many results are reported for each sub-region feature and thus determines the second (fastest moving) dimension of the results Value array.

The NumAngles property is also used to set the angular resolution of several scalar per-feature measurements. These measurements are: mRgnMaxDiameter, mRgnMinDiameter, mRgnMeanDiameter, mRgnMinCaliper, mRgnMaxCaliper and mRgnMeanCaliper. Each of these measurements is based on computations made at NumAngles angles.

Since all of the above measurements depend on NumAngles, an assignment to this property for any one of them will cause them all to go stale (IsValueStale will be True).

The default NumAngles is 32. Assigned values are limited to the range 2 through 128 and must be an even value.