Abs Math - General 
MiniCAD

VectorScript Declaration:

FUNCTION   Abs
( v:REAL ) :REAL ;

Python:

def  vs.Abs(v):
   return REAL

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:

def  vs.ArcCos(v):
   return REAL

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:

def  vs.ArcSin(v):
   return REAL

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:

def  vs.ArcTan(v):
   return REAL

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:

def  vs.Cos(v):
   return REAL

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:

def  vs.Deg2Rad(degreeValue):
   return REAL

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:

def  vs.Exp(v):
   return REAL

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:

def  vs.Ln(v):
   return REAL

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:

def  vs.Max(val1, val2):
   return REAL

Description:

Returns the maximum of the two numbers.

説明

二つの値の最大値を返します。



  Min Math - General 
Vectorworks 2014

VectorScript Declaration:

FUNCTION   Min
(   val1 :REAL;
    val2 :REAL
) :REAL ;

Python:

def  vs.Min(val1, val2):
   return REAL

Description:

Returns the minimum of the two numbers.

説明

二つの値の最小値を返します。



  Rad2Deg Math - General 
MiniCAD

VectorScript Declaration:

FUNCTION   Rad2Deg
( radianValue:REAL ) :REAL ;

Python:

def  vs.Rad2Deg(radianValue):
   return REAL

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:

def  vs.Random():
   return REAL

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:

def  vs.Round(v):
   return LONGINT

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:

def  vs.Sin(v):
   return REAL

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:

def  vs.Sqr(v):
   return REAL

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:

def  vs.Sqrt(v):
   return REAL

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:

def  vs.Tan(v):
   return REAL

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:

def  vs.Trunc(v):
   return LONGINT

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. 実数

返り値

整数化した値