public ICommand  CreateCommand()
        {
            ICommand cmd = new OrientationChangeCommand(app, obj, azimuth, zenith, origAzimuth, origZenith);

            return(cmd);
        }
 protected void SetObjectOrientationWithCommand(float r, float i)
 {
     if (!orientationUpdate)
     {
         OrientationChangeCommand cmd = new OrientationChangeCommand(this, SelectedOrientationObject, r, i, SelectedOrientationObject.Azimuth, SelectedOrientationObject.Zenith);
         ExecuteCommand(cmd);
     }
 }
 public ICommand CreateCommand()
 {
     ICommand cmd = new OrientationChangeCommand(app, obj, azimuth, zenith, origAzimuth, origZenith);
     return cmd;
 }