示例#1
0
 public Position(Model.Vertex locationIn, Direction orientationIn)
 {
     Location    = locationIn;
     Orientation = orientationIn;
 }
示例#2
0
 public Vertex(Vertex vertex)
 {
     X = vertex.X;
     Y = vertex.Y;
     Z = vertex.Z;
 }
示例#3
0
 public Position()
 {
     Location    = new Model.Vertex();
     Orientation = new Direction();
 }
示例#4
0
 public Vertex Move(Vertex origin)
 {
     return(new Vertex(X - origin.X, Y - origin.Y, Z - origin.Z));
 }