# MeasurementOperator

class `HPS.MeasurementOperator` : HPS.Operator

  Public Types

  enum `DistanceMeasurementReference`

    Values:

    `Entity`
    `Body`
  enum `LineMeasurementPosition`

    Values:

    `LastPoint`
    `FirstPoint`
    `MidPoint`
  enum `MeasurementType`

    Values:

    `PointToPoint`
    `Line`
    `Angle`
    `Area`
    `Distance`

  Public Functions

  void `DeleteAllMeasurements` ()
  override void `Dispose` ()
  HPS.MeasurementOperator.DistanceMeasurementReference `GetDistanceMeasurementReference` ()
  HPS.MeasurementOperator.LineMeasurementPosition `GetLineMeasurementPosition` ()
  HPS.MeasurementOperator.MeasurementType `GetMeasurementType` ()
  override string `GetName` ()
  ulong `GetPrecision` ()
  void `GetVertexSnapping` (out bool out_state, out float out_proximity)
  `MeasurementOperator` ()
  `MeasurementOperator` (HPS.MeasurementOperator in_that)
  `MeasurementOperator` (HPS.MouseButtons in_mouse_trigger)
  `MeasurementOperator` (HPS.MouseButtons in_mouse_trigger, HPS.ModifierKeys in_modifier_trigger)
  override bool `OnKeyDown` (HPS.KeyboardState in_state)
  override void `OnModelAttached` ()
  override void `OnModelDetached` ()
  override bool `OnMouseDown` (HPS.MouseState in_state)
  override bool `OnMouseMove` (HPS.MouseState in_state)
  override bool `OnMouseUp` (HPS.MouseState in_state)
  override bool `OnTouchDown` (HPS.TouchState in_state)
  override bool `OnTouchMove` (HPS.TouchState in_state)
  override bool `OnTouchUp` (HPS.TouchState in_state)
  override void `OnViewAttached` (HPS.View in_attached_view)
  override void `OnViewDetached` (HPS.View in_detached_view)
  void `SetDistanceMeasurementReference` (HPS.MeasurementOperator.DistanceMeasurementReference in_reference)
  void `SetLineMeasurementPosition` (HPS.MeasurementOperator.LineMeasurementPosition in_position)
  void `SetMeasurementType` (HPS.MeasurementOperator.MeasurementType in_measurement_type)
  void `SetPrecision` (ulong in_precision)
  void `SetVertexSnapping` (bool in_state)
  void `SetVertexSnapping` (bool in_state, float in_proximity)
  class `MeasurementEvent` : public HPS.Event

    Public Functions

    override string `ClassName` ()
    override HPS.Event `Clone` ()
    override void `Dispose` ()
    `MeasurementEvent` ()
    `MeasurementEvent` (HPS.Event in_event)
    `MeasurementEvent` (HPS.MeasurementOperator.MeasurementEvent in_that)
    `MeasurementEvent` (HPS.View in_view, HPS.SegmentKey in_segment_key, HPS.MeasurementOperator.MeasurementType in_measurement_type, float in_measurement_value)

    Properties

    HPS.MeasurementOperator.MeasurementType `measurement_type` { get; set; }
    float `measurement_value` { get; set; }
    HPS.SegmentKey `segment_key` { get; set; }
    HPS.View `view` { get; set; }

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Desktop or choose a sample question below to start a conversation:

What is HOOPS Visualize Desktop?
What are the latest release notes for HOOPS Visualize Desktop?
How do I start evaluating HOOPS Visualize Desktop?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...