Exemplo n.º 1
0
        public void ProjectTo(IVector2 where)
        {
            BuffVector2d aux = new BuffVector2d(where);

            aux.ProjV(new Vector2d(this.x, this.y));
            this.Set(aux.X, aux.Y);
        }
Exemplo n.º 2
0
        public void ProjectTo(IPoint2 p1, IVector2 where)
        {
            ITuple2_Double _p1 = p1.AsTupleDouble();
            BuffVector2d   aux = new BuffVector2d(where);

            aux.ProjV(new Vector2d(_p1.X, _p1.Y));
            this.Set(aux.X, aux.Y);
        }