示例#1
0
        private Point2D Normalize(Point2D point)
        {
            var oPoint = point - Origin;

            var xcor = Vx.Normalize().DotProduct(oPoint / Vx.Length) * 3;
            var ycor = Vy.Normalize().DotProduct(oPoint / Vy.Length) * 3;

            return(new Point2D(xcor, ycor));
        }