VelocityVectorSetFromStar Method

Initialize the VelocityVector from a Star object.

Definition

Namespace: ASCOM.Tools.NovasCom
Assembly: ASCOM.AstrometryTools (in ASCOM.AstrometryTools.dll) Version: 3.0.0-rc.1+86c25ce733aebb4d8b1b8a62e84770ea5e972bea
C#
public bool SetFromStar(
	Star star
)

Parameters

star  Star
The Star object from which to initialize

Return Value

Boolean
True if OK otherwise throws an exception

Remarks

The proper motions, distance and radial velocity are used in the velocity calculation.

Exceptions

HelperExceptionIf any of: Parallax, RightAscension, Declination, ProperMotionRA, ProperMotionDec or RadialVelocity are not available in the star object

Version Information

.NET Standard

Supported in: 2.0

See Also