Esempio n. 1
0
 /// if zin > z, lift CLPoint and update cc-point, and return true
 public bool liftZ(double zin, CCPoint ccp)
 {
     if (zin > z)
     {
         z = zin;
         if (cc != null)
         {
             if (cc != null)
             {
                 cc.Dispose();
             }
         }
         cc = new CCPoint(ccp);
         return(true);
     }
     else
     {
         return(false);
     }
 }