KnotCollection.GetMultiplicity operator

説明

値が指定されたノットの多重度を戻します。

スクリプト 構文

oLong = KnotCollection.GetMultiplicity( KnotValue );

戻り値

Long

パラメータ

パラメータ タイプ 詳細
KnotValue Double 多重度を求める対象のKnotValue

VBScript の例

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)