PlateStars.NearestDistance() Method

Return the distance (double, degrees) to the star that is nearest to the given Right Ascension (double, hours) and Declination (double, degrees)

Syntax

PlateStars.NearestDistance(RightAscension, Declination)

The method syntax has these parts:

Part Description
RightAscension (Double) The right ascension of the reference point (hours)
Declination (Double) The declination of the reference point (degrees)
Return (Double) The distance to the star nearest to the given coordinates.

Remarks

If you need more than one "closest" star, sort the collection by distance and get the first stars using the Item() method.