Esempio n. 1
0
 public Polygon Normalize(double k)
 {
     for (int i = 0; i < Vertex.Length; i++)
     {
         Vertex[i] = new PPoint(Vertex[i].X / k, Vertex[i].Y / k, Vertex[i].Z / k);
     }
     return(this);
 }
Esempio n. 2
0
 public Vector(PPoint p) : base(p.X, p.Y, p.Z)
 {
     W = 1;
 }