Click or drag to resize

ConstantWindModel.GetEvaluator Method (EvaluatorGroup, IServiceProvider)

Creates an instance of an evaluator that can compute the wind.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public override VectorEvaluator GetEvaluator(
	EvaluatorGroup group,
	IServiceProvider serviceProvider
)

Parameters

group
Type: AGI.Foundation.EvaluatorGroup
The group in which to create the evaluator and its dependents.
serviceProvider
Type: System.IServiceProvider
The location to use when calculating the value. This service provider must provide the ILocationPointService service.

Return Value

Type: VectorEvaluator
The evaluator that computes the wind.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when group or serviceProvider is null.
PropertyInvalidException Thrown when the property CentralBody is null or when the property HorizontalWindSpeed is negative.
See Also