Esempio n. 1
0
        /// <summary>Converts the current instance to a highly-precise pixel coordinate.</summary>
        public PointD ToPointD()
        {
            // First, convert to the North/CW orientation
            // then convert to pixel  (same as Cartesian but -Y)
            Radian adj = ToOrientation(Azimuth.East, PolarCoordinateOrientation.Counterclockwise).Theta.ToRadians();

            return(new PointD(R * adj.Cosine().Value, -R * adj.Sine().Value));
        }