ノットのパラメータ配置を siKnotParameterization 列挙型の値の 1 つとして戻します。
// get accessor siKnotParameterization rtn = KnotCollection.Parameterization; |
set oObject = Application.ActiveProject.ActiveScene.Root.AddGeometry("Sphere","NurbsSurface") set oNurbsSurfaceMesh = oObject.ActivePrimitive.Geometry set oNurbsSurface = oNurbsSurfaceMesh.Surfaces(0) eKnotParameterization = oNurbsSurface.UKnots.Parameterization if eKnotParameterization = siUniformParameterization then logmessage "NURBS curves are uniform" end if |