rebuildCurve [-caching boolean] [-constructionHistory boolean] [-degree int] [-endKnots int] [-fitRebuild boolean] [-keepControlPoints boolean] [-keepEndPoints boolean] [-keepRange int] [-keepTangents boolean] [-name string] [-nodeState int] [-object boolean] [-range boolean] [-rebuildType int] [-replaceOriginal boolean] [-smartSurfaceCurveRebuild boolean] [-spans int] [-tolerance linear]
curve [curve]
rebuildCurve は 「元に戻す」が可能、「照会」が可能、「編集」が可能 です。
パラメータ配置を修正してカーブをリビルドします。 シェイプが変化することもあります。カーブの再構築方法は rebuildType (-rt) で決まります。 オプションの 2 番目のカーブは、リファレンス パラメータ配置の指定に使用できます。string[] | オブジェクト名とノード名 |
戻り値の型は照会モードでは照会フラグが基になります。
ロング ネーム(ショート ネーム) | 引数型 | プロパティ | ||
---|---|---|---|---|
-fitRebuild(-fr)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-rebuildType(-rt)
|
int
|
![]() ![]() ![]() |
||
|
||||
-spans(-s)
|
int
|
![]() ![]() ![]() |
||
|
||||
-degree(-d)
|
int
|
![]() ![]() ![]() |
||
|
||||
-tolerance(-tol)
|
linear
|
![]() ![]() ![]() |
||
|
||||
-endKnots(-end)
|
int
|
![]() ![]() ![]() |
||
|
||||
-keepRange(-kr)
|
int
|
![]() ![]() ![]() |
||
|
||||
-keepEndPoints(-kep)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-keepTangents(-kt)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-keepControlPoints(-kcp)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-smartSurfaceCurveRebuild(-scr)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
高度なフラグ | ||||
-caching(-cch)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-nodeState(-nds)
|
int
|
![]() ![]() ![]() |
||
|
||||
一般的なフラグ | ||||
-name(-n)
|
string
|
![]() |
||
|
||||
-constructionHistory(-ch)
|
boolean
|
![]() |
||
|
||||
-object(-o)
|
boolean
|
![]() |
||
|
||||
-replaceOriginal(-rpo)
|
boolean
|
![]() |
||
|
||||
-range(-rn)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// rebuild curve to 5 uniform spans rebuildCurve -rt 0 -s 5; // rebuild curve by reducing redundant spans rebuildCurve -rt 1; // rebuild curve by matching the parameterization of another curve // curve1 is the curve to rebuild // curve2 is the reference curve rebuildCurve -rt 2 curve1 curve2; // rebuild curve by removing all multiple interior knots rebuildCurve -rt 3; // rebuild curve using the curvature of the curve // to create more spans where curvature is higher rebuildCurve -rt 4;