Description

A McMeasures collection exposed as McRegions.Measures, McLines.Measures and McPoints.Measures.

Object Model

Remarks

The Measures operator is a property of an McFeatures object. It can be used to select a group of measurements to be enabled and then compute them (or filter features based on all of them) all at once. For some measurements, this can be more efficient than accessing the selected measurement values one at a time.

Furthermore the Measures operator fires events that signal when enabled measurements go stale (i.e., need to be recomputed) and when the Compute or Filter methods are called.

Members

Methods
Add

Internally used method to add a measurement operator to the collection

AddAll

All available measurements are added to the collection.

Compute

Forces the computation of enabled measurements in the collection

Filter

The ancestor McFeatures features are selected based all enabled measurements

Remove

Internally used method to Remove a measurement operator (or all opererators) from the collection.

Select

Sets the Enabled state for selected measurements in the collection

SelectAll

Enables or disables all measurements in the collection by category

Unselect

Specified items in the collection are disabled


Properties
CountRead-only property

Count of measurements in the collection

ItemRead-only property

One of the McMeasure instances in the collection


Events
ComputeDone

An event fired after the McMeasures.Compute call has completed.

FilterDone

An event fired after the McMeasures.Compute call has completed.

MeasuresGoneStale

An event fired when one or more measurements in the collection goes “stale”

SelectChanged

An event fired when the enabled state one or more measurements in the collection is changed.