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 }; }
static Vector3 ToVector3(ref Rhino.Geometry.Vector3f p) => new(p.X, p.Z, p.Y);