RhinoCommon API
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

public int ProfileIndex( double profileParameter )
Public Function ProfileIndex ( profileParameter As Double ) As Integer
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.
