RhinoCommon API
GetPointConstrainDistanceFromBasePoint Method |
Sets distance constraint from base point.
Namespace: Rhino.Input.Custom
Assembly: RhinoCommon (in RhinoCommon.dll)

public void ConstrainDistanceFromBasePoint( double distance )
Public Sub ConstrainDistanceFromBasePoint ( distance As Double )
Parameters
- distance
- Type: SystemDouble
pass UnsetValue to clear this constraint. Pass 0.0 to disable the ability to set this constraint by typing a number during GetPoint.

If the base point is set and the distance from base point constraint
is > 0, then the picked point is constrained to be this distance
from the base point.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14