메소드 | 설명 | |
---|---|---|
ArcCos ( Primitive cos ) : Primitive |
ArcCos in degrees.
|
|
ArcSin ( Primitive sin ) : Primitive |
ArcSin in degrees.
|
|
ArcTan ( Primitive tan ) : Primitive |
ArcTan in degrees.
|
|
Base2Decimal ( Primitive number, Primitive Base ) : Primitive |
Convert a base number to a decimal integer.
|
|
Convert2Cartesian ( Primitive x1, Primitive y1, Primitive dist, Primitive angle ) : Primitive |
Calculate the coordinates of a point 2, from point 1 and the distance and angle to point 2.
|
|
Convert2Radial ( Primitive x1, Primitive y1, Primitive x2, Primitive y2 ) : Primitive |
Calculate the distance and angle between two points.
|
|
Cos ( Primitive angle ) : Primitive |
Cos of an angle in degrees.
|
|
Cosh ( Primitive angle ) : Primitive |
Hyperbolic cosine.
|
|
Decimal2Base ( Primitive number, Primitive Base ) : Primitive |
Convert a decimal integer to another base.
|
|
Evaluate ( Primitive expression ) : Primitive |
Evaluate a string expression to a number or boolean (if possible). The JScript command 'eval' is used and may therefore allow more complex JScript manipulations (also see LDInline). The TextWindow should be visible prior to using this method if later use of the TextWindow is required.
|
|
Evaluate2 ( Primitive expression ) : Primitive |
Evaluate a string expression to a number (if possible). An alternative to Evaluate that behaves nicely with the TextWindow.
|
|
Evaluate3 ( Primitive expression ) : Primitive |
Evaluate a string expression to a boolean "True" or "False" (if possible). An alternative to Evaluate that behaves nicely with the TextWindow.
|
|
Exp ( Primitive value ) : Primitive |
Exponential of a number e^x.
|
|
FixDecimal ( Primitive number, Primitive digits ) : Primitive |
Round a number to a fixed number of decimal places. Additional training decimal 0s are added if required.
|
|
FixSigFig ( Primitive number, Primitive digits ) : Primitive |
Round a number to a fixed number of significant figures.
|
|
Rotate ( Primitive x1, Primitive y1, Primitive x2, Primitive y2, Primitive angle ) : Primitive |
Rotate point 2 clockwise about point 1.
|
|
Sin ( Primitive angle ) : Primitive |
Sin of an angle in degrees.
|
|
Sinh ( Primitive angle ) : Primitive |
Hyperbolic sine.
|
|
Tan ( Primitive angle ) : Primitive |
Tan of an angle in degrees.
|
|
Tanh ( Primitive angle ) : Primitive |
Hyperbolic tangent.
|
|
Truncate ( Primitive value ) : Primitive |
Get the integral part of a number.
|
public static ArcCos ( Primitive cos ) : Primitive | ||
cos | Primitive | /// The Cos of the angle. /// |
리턴 | Primitive |
public static ArcSin ( Primitive sin ) : Primitive | ||
sin | Primitive | /// The Sin of the angle. /// |
리턴 | Primitive |
public static ArcTan ( Primitive tan ) : Primitive | ||
tan | Primitive | /// The Tan of the angle. /// |
리턴 | Primitive |
public static Base2Decimal ( Primitive number, Primitive Base ) : Primitive | ||
number | Primitive | The base number to convert (non negative). |
Base | Primitive | The base to convert from (2 binary) (8 octal) (16 hex) or other bases up to 36. |
리턴 | Primitive |
public static Convert2Cartesian ( Primitive x1, Primitive y1, Primitive dist, Primitive angle ) : Primitive | ||
x1 | Primitive | /// The X coordinate of point 1. /// |
y1 | Primitive | /// The Y coordinate of point 1. /// |
dist | Primitive | /// The distance to point 2. /// |
angle | Primitive | /// The angle to point 2 in degrees. /// |
리턴 | Primitive |
public static Convert2Radial ( Primitive x1, Primitive y1, Primitive x2, Primitive y2 ) : Primitive | ||
x1 | Primitive | /// The X coordinate of point 1. /// |
y1 | Primitive | /// The Y coordinate of point 1. /// |
x2 | Primitive | /// The X coordinate of point 2. /// |
y2 | Primitive | /// The Y coordinate of point 2. /// |
리턴 | Primitive |
public static Cos ( Primitive angle ) : Primitive | ||
angle | Primitive | /// The angle in degrees. /// |
리턴 | Primitive |
public static Cosh ( Primitive angle ) : Primitive | ||
angle | Primitive | Angle in radians. |
리턴 | Primitive |
public static Decimal2Base ( Primitive number, Primitive Base ) : Primitive | ||
number | Primitive | The decimal integer to convert (non negative). |
Base | Primitive | The base to convert to (2 binary) (8 octal) (16 hex) or other bases to 36. |
리턴 | Primitive |
public static Evaluate ( Primitive expression ) : Primitive | ||
expression | Primitive | The expression to evaluate, e.g. "(9/6) + 3" or "2.1 > 1.5". |
리턴 | Primitive |
public static Evaluate2 ( Primitive expression ) : Primitive | ||
expression | Primitive | The expression to evaluate, e.g. "1e6 + 6/4". |
리턴 | Primitive |
public static Evaluate3 ( Primitive expression ) : Primitive | ||
expression | Primitive | The expression to evaluate to a boolean, e.g. "21.3 > 16". |
리턴 | Primitive |
public static Exp ( Primitive value ) : Primitive | ||
value | Primitive | The value to raise e to the power of. |
리턴 | Primitive |
public static FixDecimal ( Primitive number, Primitive digits ) : Primitive | ||
number | Primitive | The number to change. |
digits | Primitive | The number of decimal places. |
리턴 | Primitive |
public static FixSigFig ( Primitive number, Primitive digits ) : Primitive | ||
number | Primitive | The number to change. |
digits | Primitive | The number of significant figures. |
리턴 | Primitive |
public static Rotate ( Primitive x1, Primitive y1, Primitive x2, Primitive y2, Primitive angle ) : Primitive | ||
x1 | Primitive | /// The X coordinate of point 1. /// |
y1 | Primitive | /// The Y coordinate of point 1. /// |
x2 | Primitive | /// The X coordinate of point 2. /// |
y2 | Primitive | /// The Y coordinate of point 2. /// |
angle | Primitive | /// The angle to rotate point 2 around point 1 in degrees. /// |
리턴 | Primitive |
public static Sin ( Primitive angle ) : Primitive | ||
angle | Primitive | /// The angle in degrees. /// |
리턴 | Primitive |
public static Sinh ( Primitive angle ) : Primitive | ||
angle | Primitive | Angle in radians. |
리턴 | Primitive |
public static Tan ( Primitive angle ) : Primitive | ||
angle | Primitive | /// The angle in degrees. /// |
리턴 | Primitive |
public static Tanh ( Primitive angle ) : Primitive | ||
angle | Primitive | Angle in radians. |
리턴 | Primitive |
public static Truncate ( Primitive value ) : Primitive | ||
value | Primitive | The number to truncate. |
리턴 | Primitive |