Returns the multiplicity of a knot give its value
oLong = KnotCollection.GetMultiplicity( KnotValue ); |
Parameter | Type | Description |
---|---|---|
KnotValue | Double | The KnotValue of which we want the multiplicity. |
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) |