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)
Since: 5.0
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.
See Also