Click or drag to resize

ExtrusionProfileIndex Method

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public int ProfileIndex(
	double profileParameter
)

Parameters

profileParameter
Type: SystemDouble
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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also