Trigonometric (Unit Aware)
gSin
gSin(angle:= LREAL)
- Returns the sine of the given
angle
where the current angle unit is used to interpret the angle. - The return type is
LREAL
. This function is not overloaded.
gCos
gCos(angle:= LREAL)
- Returns the cosine of the given
angle
where the current angle unit is used to interpret the angle. - The return type is
LREAL
. This function is not overloaded.
gTan
gTan(angle:= LREAL)
- Returns the tangent of the given
angle
where the current angle unit is used to interpret the angle. - The return type is
LREAL
. This function is not overloaded.
gASin
gASin(val:= LREAL)
- Returns the arcsine of
val
in the current angle unit. - The return type is
LREAL
. This function is not overloaded. - The result lies within the interval
[-c/4,c/4]
wherec
is the angle of a full circle in the current angle unit.
CONSTRAINT: The variable |
gACos
gACos(val:= LREAL)
- Returns the arccosine of
val
in the current angle unit. - The return type is
LREAL
. This function is not overloaded. - The result lies within the interval
[0,c/2]
wherec
is the angle of a full circle in the current angle unit.
CONSTRAINT: The variable |
gATan
gATan(val:= LREAL)
- Returns the arctangent of
val
in the current angle unit. - The return type is
LREAL
. This function is not overloaded. - The result lies within the interval
[-c/4,c/4]
wherec
is the angle of a full circle in the current angle unit.
gATan2
gATan2(y:= LREAL, x:= LREAL)
- Returns the arctangent of
y
/x
in the current angle unit. - The return type is
LREAL
. This function is not overloaded. - The result lies within the interval
[-c/2,c/2]
wherec
is the angle of a full circle in the current angle unit.