Class Angle
- Namespace
- xFunc.Maths.Expressions.Units.AngleUnits
- Assembly
- xFunc.Maths.dll
Represents an angle number.
public class Angle : Unit<AngleValue>, IExpression, IEquatable<Unit<AngleValue>>
- Inheritance
-
Angle
- Implements
- Inherited Members
- Extension Methods
Constructors
Angle(AngleValue)
Initializes a new instance of the Angle class.
public Angle(AngleValue value)
Parameters
value
AngleValueAn angle.
Methods
AnalyzeInternal<TResult>(IAnalyzer<TResult>)
Analyzes the current expression.
protected override TResult AnalyzeInternal<TResult>(IAnalyzer<TResult> analyzer)
Parameters
analyzer
IAnalyzer<TResult>The analyzer.
Returns
- TResult
The analysis result.
Type Parameters
TResult
The type of the result.
AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext>, TContext)
Analyzes the current expression.
protected override TResult AnalyzeInternal<TResult, TContext>(IAnalyzer<TResult, TContext> analyzer, TContext context)
Parameters
analyzer
IAnalyzer<TResult, TContext>The analyzer.
context
TContextThe context.
Returns
- TResult
The analysis result.
Type Parameters
TResult
The type of the result.
TContext
The type of additional parameter for analyzer.