Beispiel #1
0
            public override double Calculate()
            {
                Coordinates pnt = ts.Project(new Vector2d(-(point.Image.X - width / 2) * ts.Scale, (point.Image.Y - height / 2) * ts.Scale), width, height);

                Vector3d vect1 = Coordinates.RADecTo3dDouble(point.Celestial, 1);
                Vector3d Vect2 = Coordinates.RADecTo3dDouble(pnt, 1);

                Vector3d vect3 = vect1 - Vect2;

                return(vect3.Length());
            }