Abs | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Abs
( v:REAL ) :REAL ; Python:
return REAL
def vs.Abs(v): Description:
Function Abs returns the absolute value of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)の絶対値を返します。Parameters:
v Real number. 数値
ArcCos | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION ArcCos
( v:REAL ) :REAL ; Python:
return REAL
def vs.ArcCos(v): Description:
Function ArcCos returns the arccosine (in radians) of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)のアークコサインの値を返します。Parameters:
v Numeric value for which to find the cosine. 数値
ArcSin | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION ArcSin
( v:REAL ) :REAL ; Python:
return REAL
def vs.ArcSin(v): Description:
Function ArcSin returns the arc sine (in radians) of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)のアークサインの値を返します。Parameters:
v Numeric value for which to find the sine. 数値
ArcTan | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION ArcTan
( v:REAL ) :REAL ; Python:
return REAL
def vs.ArcTan(v): Description:
Function ArcTan returns the arc tangent (in radians) of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)のアークタンジェントの値を返します。Parameters:
v Numeric value for which to find the tangent. 数値
Cos | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Cos
( v:REAL ) :REAL ; Python:
return REAL
def vs.Cos(v): Description:
Function Cos returns the cosine of the specified value. The base value is assumed to represent an angle in radians.説明
指定した数値(REAL、LONGINT、INTEGER)のコサインの値を返します。Parameters:
v The angle for which to find the cosine. 数値
Deg2Rad | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Deg2Rad
( degreeValue:REAL ) :REAL ; Python:
return REAL
def vs.Deg2Rad(degreeValue): Description:
Function Deg2Rad converts the specified value (in degrees) to radians.説明
指定したデグリー値(度数)をラジアン値に変換して返します。Parameters:
degreeValue Value in degrees. デグリー値(度数)
Exp | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Exp
( v:REAL ) :REAL ; Python:
return REAL
def vs.Exp(v): Description:
Function Exp returns the value of e to the x, where e is the base of the natural logarithms and x is the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)の指数を返します。
Ln | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Ln
( v:REAL ) :REAL ; Python:
return REAL
def vs.Ln(v): Description:
Function Ln returns the natural logarithm of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)の自然対数を返します。Parameters:
v Numeric value for which to find the natural logarithm. 数値 返り値
自然対数
Max | Math - General Vectorworks 2014 |
VectorScript Declaration:
FUNCTION Max
( val1 :REAL; val2 :REAL ) :REAL ; Python:
return REAL
def vs.Max(val1, val2): Description:
Returns the maximum of the two numbers.説明
二つの値の最大値を返します。
Min | Math - General Vectorworks 2014 |
VectorScript Declaration:
FUNCTION Min
( val1 :REAL; val2 :REAL ) :REAL ; Python:
return REAL
def vs.Min(val1, val2): Description:
Returns the minimum of the two numbers.説明
二つの値の最小値を返します。
Rad2Deg | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Rad2Deg
( radianValue:REAL ) :REAL ; Python:
return REAL
def vs.Rad2Deg(radianValue): Description:
Function Rad2Deg converts the specified value (in radians) to degrees.説明
指定したラジアン値をデグリー値(度数)に変換して返します。Parameters:
radianValue Value in radians. ラジアン値 返り値
デグリー値(度数)
Random | Math - General VectorWorks8.0 |
VectorScript Declaration:
FUNCTION Random
:REAL ; Python:
return REAL
def vs.Random(): Description:
Procedure Random returns a random number between 0.0 and 1.0.説明
0.0から1.0までの乱数を実数で返します。返り値
乱数
Round | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Round
( v:REAL ) :LONGINT ; Python:
return LONGINT
def vs.Round(v): Description:
Function Round converts the specified REAL value to a LONGINT value. The LONGINT result is the value rounded to the nearest whole number.説明
指定した実数を四捨五入して、LONGINT型の整数に変換して返します。Parameters:
v Real value to round. 実数 返り値
四捨五入した値
Sin | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Sin
( v:REAL ) :REAL ; Python:
return REAL
def vs.Sin(v): Description:
Function Sin returns the sine of the specified value. The base value is assumed to represent an angle in radians.説明
指定した数値(REAL、LONGINT、INTEGER)のサインの値を返します。Parameters:
v Numeric value for which to find the sine. 数値 返り値
サインの値
Sqr | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Sqr
( v:REAL ) :REAL ; Python:
return REAL
def vs.Sqr(v): Description:
Function Sqr returns the square of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)の2乗の値を返します。Parameters:
v Value to square. 数値 返り値
2乗の値
Sqrt | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Sqrt
( v:REAL ) :REAL ; Python:
return REAL
def vs.Sqrt(v): Description:
Function Sqrt returns the square root of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)の平方根を返します。Parameters:
v Value for which to find the square root. 数値 返り値
平方根
Tan | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Tan
( v:REAL ) :REAL ; Python:
return REAL
def vs.Tan(v): Description:
Function Tan returns the tangent of the specified value.説明
指定した数値(REAL、LONGINT、INTEGER)のタンジェントの値を返します。Parameters:
v Angle, in radians. 実数 返り値
タンジェントの値
Trunc | Math - General MiniCAD |
VectorScript Declaration:
FUNCTION Trunc
( v:REAL ) :LONGINT ; Python:
return LONGINT
def vs.Trunc(v): Description:
Truncates the decimal portion of the specified REAL number, returning the result as a LONGINT value.
Note that direct assignment of a REAL to a LONGINT will result in rounding the REAL to the nearest LONGINT, whereas Trunc always "rounds down" (if the number is positive).
説明
指定した実数の小数点以下を切り捨て、LONGINT型の整数に変換して返します。Parameters:
v Real value to truncate. 実数 返り値
整数化した値