Exemplo n.º 1
0
 public XmlVertex(Rhino.Geometry.Point3f v, Rhino.Geometry.Vector3f n)
 {
     position = new XmlPosition()
     {
         x = v.X,
         y = v.Y,
         z = v.Z
     };
     normal = new XmlNormal()
     {
         x = n.X,
         y = n.Y,
         z = n.Z
     };
 }
Exemplo n.º 2
0
 static Vector3 ToVector3(ref Rhino.Geometry.Vector3f p) => new(p.X, p.Z, p.Y);