GetMultiplicity (KnotCollection) *
Description
Returns the multiplicity of a knot give its value
Scripting Syntax
KnotCollection.GetMultiplicity( KnotValue )
C# Syntax
Int32 KnotCollection.GetMultiplicity( Double in_dKnotValue );
Parameters
|
Parameter |
Type |
Description |
|
KnotValue |
The KnotValue of which we want the multiplicity. |
Return Value
Examples
VBScript Example
set oRoot = Application.activeproject.activescene.root set oSphere = oRoot.AddGeometry( "Sphere", "NurbsSurface" ) set oUKnotCollection = oSphere.ActivePrimitive.Geometry.Surfaces(0).UKnots aKnotValues = oUKnotCollection.Array logmessage "The multiplicity of the first knot in the collection is :" & oUKnotCollection.GetMultiplicity(0)
SOFTIMAGE|XSI v6.01