Skip to content

GetPoint.EnableCurveSnapTangentBar

Public Class

Controls display of the curve snap tangent bar icon.

Namespace: Rhino.Input.Custom

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

public void EnableCurveSnapTangentBar(
bool drawTangentBarAtSnapPoint,
bool drawEndPoints
)

Parameters

drawTangentBarAtSnapPoint

Type:System.Boolean
true to draw a tangent bar icon whenever GetPoint snaps to a curve.

drawEndPoints

Type:System.Boolean
true to draw points at the end of the tangent bar.

Remarks

The tangent bar is drawn by GetPoint::DynamicDraw. If you override GetPoint::DynamicDraw, then you must call the base class function.