Measurement

class HPS.Measurement : IDisposable

Measurement class, to handle the visibility of measurements

Public Functions

bool BelongToOneComponent (HPS.ComponentPath[] components)

Check if the measurement is related to a set of components.

Param components:
 The components to check
Return:True if every measurement points belongs to a component in the list, false otherwise
HPS.ComponentPath[] Components ()
void Dispose ()
HPS.SegmentKey GetMeasurementSegment ()
HPS.MeasurementType GetMeasurementType ()
bool IsKitVisible ()

Check if the measurement VisibilityKit is visible, but not the meta visibility.

Return:true if lines are visible, false otherwise
bool IsMetaVisible ()

Check if the measurement is meta visible.

Return:true if the measurement is highlighted by the meta visibility, false otherwise
bool IsVisible ()

Check if the measurement is visible and meta visible.

Return:true if lines are visible, false otherwise
Measurement ()
Measurement (HPS.ComponentPath[] components, HPS.SegmentKey segment, HPS.MeasurementType type, HPS.KeyPath path, HPS.Canvas canvas)

Constructor, creates a measurement object

Param segment:The graphic segment of the measurement
Measurement (HPS.Measurement in_that)
void ResetMetaVisibility ()

Remove the meta visibility state of the measurement.

void SetMetaVisible (bool visible)

Modify the meta visibility of the measurement. The meta visibility is the ability to show a measurement with the Isolate activated.

Param visible:the wanted visibility
void SetVisible (bool visible)

Modify the visibility of the measurement.

Param visible:the wanted visibility