New to Telerik Document Processing? Start a free 30-day trial

Atan2

Class

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

Constructors

Initializes a new ATAN2 function instance for computing two-argument arctangent values from x and y coordinates.

C#
public Atan2()

Fields

The name of the function.

C#
public static readonly string FunctionName

Properties

Gets the metadata describing this function's category, arguments, and behavior.

C#
public override FunctionInfo FunctionInfo { get; }
Property Value:

The function info as FunctionInfo.

Overrides: FunctionBase.FunctionInfo

Gets the function name "ATAN2".

C#
public override string Name { get; }
Property Value:

The name as String.

Overrides: FunctionBase.Name

Methods

Evaluates the two-argument arctangent of the x and y coordinates and returns the result, returning an error if both are zero.

C#
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters:contextFunctionEvaluationContext<double>

The context.

Returns:

RadExpression

Functions result as RadExpression.

Overrides: FunctionWithSameTypeArguments<double>.EvaluateOverride(FunctionEvaluationContext<double>)