Click or drag to resize

GetPointConstrainDistanceFromBasePoint Method

Sets distance constraint from base point.

Namespace:  Rhino.Input.Custom
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public void ConstrainDistanceFromBasePoint(
	double distance
)

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.
Remarks
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.
See Also