Class: LM_AngleWidget

Parent class: LM_BaseWidget

The LM_AngleWidget class provides a knob to let the user enter an angle value. To create a new angle widget, you would use the following function:


LM_AngleWidget LM.GUI.AngleWidget(msg)

Creates a new LM_AngleWidget object that can then be added to a dialog or toolbar.

Return value (LM_AngleWidget): the newly-created angle widget msg (int): the message value to send when the angle is changed by the user

Member Functions


void SetValue(angle)

Sets the angle value of the angle widget.

Return value: none angle (float): an angle in radians
float Value()

Returns the current angle value.

Return value (float): the current angle value in radians