Click or drag to resize

AtmosphericRefractionModel.ValidateProperties Method

Validates that required properties and parameters are configured correctly in order to get an evaluator for this instance. Derived classes should call this method when implementing GetEvaluator(EvaluatorGroup, VectorDisplacement), as well as validate their own properties.

Namespace:  AGI.Foundation.Celestial
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
protected virtual void ValidateProperties(
	EvaluatorGroup group,
	VectorDisplacement unrefractedDisplacementVector
)

Parameters

group
Type: AGI.Foundation.EvaluatorGroup
The group with which to associate the new evaluator. By grouping evaluators that are often evaluated at the same Julian dates, common computations can be performed only once for the entire group instead of multiple times for each evaluator.
unrefractedDisplacementVector
Type: AGI.Foundation.Geometry.VectorDisplacement
The unrefracted displacement vector which will be refracted.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when group or unrefractedDisplacementVector is null.
PropertyInvalidException Thrown when the property CentralBody is null.
See Also