M_Rhino_Geometry_BezierCurve_GetControlVertex2d - mcneel/rhinocommon-api-docs GitHub Wiki

BezierCurve.GetControlVertex2d Method

Get location of a control vertex.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Point2d GetControlVertex2d(
	int index
)

VB

Public Function GetControlVertex2d ( 
	index As Integer
) As Point2d

Parameters

 

index
Type: System.Int32
Control vertex index (0 <= index < ControlVertexCount)

Return Value

Type: Point2d
If the bezier is rational, the euclidean location is returned.

Exceptions

 

Exception Condition
ArgumentOutOfRangeException when index is out of range

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

BezierCurve Class
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️