Initialize the PositionVector from a Star object.

Namespace: ASCOM.Astrometry.NOVASCOM
Assembly: ASCOM.Astrometry (in ASCOM.Astrometry.dll) Version: 6.0.0.0 (6.1.1.2619)

Syntax

C#
public bool SetFromStar(
	Star star
)
Visual Basic
Public Function SetFromStar ( _
	star As Star _
) As Boolean
Visual C++
public:
virtual bool SetFromStar(
	Star^ star
) sealed

Parameters

star
Type: ASCOM.Astrometry.NOVASCOM..::..Star
The Star object from which to initialize

Return Value

True if successful or throws an exception

Implements

IPositionVector..::..SetFromStar(Star)

Remarks

Exceptions

ExceptionCondition
ASCOM.Astrometry.Exceptions..::..ValueNotAvailableExceptionIf Parallax, RightAScension or Declination is not available in the supplied star object.

See Also