値が指定されたノットの多重度を戻します。
oLong = KnotCollection.GetMultiplicity( KnotValue ); |
パラメータ | タイプ | 詳細 |
---|---|---|
KnotValue | Double | 多重度を求める対象のKnotValue |
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) |