| 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.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.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.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.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.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.
| 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.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.
| 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.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.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.Parameters:
v Value to square.
| 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.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.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).
Parameters:
v Real value to truncate.