Beispiel #1
0
 /// <summary>
 /// Move all vertices in this collection from the global coordinate system
 /// to equivalent positions in the specified local coordinate system
 /// </summary>
 /// <param name="cSystem"></param>
 public void MoveGlobalToLocal(ICoordinateSystem cSystem)
 {
     foreach (Vertex v in this)
     {
         v.Position = cSystem.GlobalToLocal(v.Position);
     }
 }
Beispiel #2
0
 public Vector GlobalToLocal(Vector vector, bool direction = false)
 {
     return(_CoordinateSystem.GlobalToLocal(vector, direction));
 }