値が指定されたノットの多重度を戻します。
Int32 KnotCollection.GetMultiplicity( Double in_dKnotValue ); |
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) |