「Tingr:convertslopetorad」の版間の差分
|  (ページの作成:「{{BCAD_LISP_CIVIL}}  ; 構文 : (Tingr:convertslopetorad  ''format''  ''slope'' )   ; 機能 : TinSurface エンティティ,refEntity を輪郭,cutSlope 角度,fil…」) | 編集の要約なし | ||
| 6行目: | 6行目: | ||
| ; 機能 | ; 機能 | ||
| :  | : format で与えられた slope 形式の傾きの値をラジアンに変換する。 | ||
2023年4月3日 (月) 07:06時点における版
- 構文
- (Tingr:convertslopetorad format slope )
- 機能
- format で与えられた slope 形式の傾きの値をラジアンに変換する。
- 引数
- 
- format : 傾斜値の形式を指定する整数。(bcTinSlopeRiseRun = 0, bcTinSlopeDegrees = 1, bcTinSlopePercent = 2, bcTinSlopeRadians = 3)
- slope : ラジアンに変換される勾配値
 
- 戻り値
- ラジアン値 or NIL
- メモ
- 勾配フォーマットについては、ETinSlopeFormatを参照。
 
- サンプル
(vl-load-tin) (Tingr:convertslopetorad 0 1) 0.785398163397448 (gz:rad->deg (Tingr:convertslopetorad 0 1)) 45.0 (Tingr:convertslopetorad 1 45 ) 0.785398163397448 (Tingr:convertslopetorad 2 30 ) 1.53747533091665
関連事項
