//---------------------------------------------------------------------- // The Motion Strategy Library (MSL) //---------------------------------------------------------------------- // // Copyright (c) 1998-2000 Iowa State University and Steve LaValle. // All Rights Reserved. // // Permission to use, copy, and distribute this software and its // documentation is hereby granted free of charge, provided that // (1) it is not a component of a commercial product, and // (2) this notice appears in all copies of the software and // related documentation. // // Iowa State University and the author make no representations // about the suitability or fitness of this software for any purpose. // It is provided "as is" without express or implied warranty. //---------------------------------------------------------------------- #ifndef MSL_DEFS_H #define MSL_DEFS_H #ifndef PI #define PI 3.1415926535897932385 #endif #ifndef INFINITY #define INFINITY 1.0e40 #endif #ifndef sqr #define sqr(x) ((x)*(x)) #endif #ifndef Min #define Min(x,y) ((xy) ? x : y) #endif #endif