M_Rhino_Geometry_Curve_GetPerpendicularFrames - mcneel/rhinocommon-api-docs GitHub Wiki

Curve.GetPerpendicularFrames Method

Gets a collection of perpendicular frames along the curve. Perpendicular frames are also known as 'Zero-twisting frames' and they minimize rotation from one frame to the next.

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

Syntax

C#

public Plane[] GetPerpendicularFrames(
	IEnumerable<double> parameters
)

VB

Public Function GetPerpendicularFrames ( 
	parameters As IEnumerable(Of Double)
) As Plane()

Parameters

 

parameters
Type: System.Collections.Generic.IEnumerable(Double)
A collection of strictly increasing curve parameters to place perpendicular frames on.

Return Value

Type: Plane[]
An array of perpendicular frames on success or null on failure.

Exceptions

 

Exception Condition
InvalidOperationException Thrown when the curve parameters are not increasing.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Curve Class
Rhino.Geometry Namespace

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