ClassAtan2
Calculates the arctangent of the specified x and y coordinates and returns the angle from the x-axis to the point in radians, within the range -π to π.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Atan2 : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionAtan2
Inherited Members
Constructors
Atan2()
Initializes a new ATAN2 function instance for computing two-argument arctangent values from x and y coordinates.
Declaration
public Atan2()
Fields
FunctionName
The name of the function.
Properties
FunctionInfo
Gets the metadata describing this function's category, arguments, and behavior.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the two-argument arctangent of the x and y coordinates and returns the result, returning an error if both are zero.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides