M_Rhino_Geometry_Extrusion_ProfileIndex - mcneel/rhinocommon-api-docs GitHub Wiki

Extrusion.ProfileIndex Method

Gets the index of the profile curve at a domain related to a parameter.

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

Syntax

C#

public int ProfileIndex(
	double profileParameter
)

VB

Public Function ProfileIndex ( 
	profileParameter As Double
) As Integer

Parameters

 

profileParameter
Type: System.Double
Parameter on profile curve.

Return Value

Type: Int32
-1 if profileParameter does not correspond to a point on the profile curve. When the profileParameter corresponds to the end of one profile and the beginning of the next profile, the index of the next profile is returned.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Extrusion Class
Rhino.Geometry Namespace

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