30 #ifdef MSQ_USE_OLD_IO_HEADERS
31 # include <iostream.h>
46 return s << v[0] <<
' ' << v[1] <<
' ' << v[2] <<
' ' << msq_stdio::endl;
55 double angle_cos = (lhs %
rhs)/(len1 * len2);
56 if (!finite( angle_cos ))
63 if ((angle_cos > 1.0) && (angle_cos < 1.0001))
67 else if (angle_cos < -1.0 && angle_cos > -1.0001)
void const int char const int long int long int len2
static double interior_angle(const Vector3D &a, const Vector3D &b, MsqError &err)
Used to hold the error state and return it to the application.
Vector3D is the object that effeciently stores information about about three-deminsional vectors...
*********************************************************************Illinois Open Source License ****University of Illinois NCSA **Open Source License University of Illinois All rights reserved ****Developed free of to any person **obtaining a copy of this software and associated documentation to deal with the Software without including without limitation the rights to and or **sell copies of the and to permit persons to whom the **Software is furnished to do subject to the following this list of conditions and the following disclaimers ****Redistributions in binary form must reproduce the above **copyright this list of conditions and the following **disclaimers in the documentation and or other materials **provided with the distribution ****Neither the names of the Center for Simulation of Advanced the University of nor the names of its **contributors may be used to endorse or promote products derived **from this Software without specific prior written permission ****THE SOFTWARE IS PROVIDED AS WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **ARISING OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE v
#define MSQ_SETERR(err)
Macro to set error - use err.clear() to clear.
void const int char const int long int len1
msq_stdio::ostream & operator<<(msq_stdio::ostream &s, const Matrix3D &A)
CImg< _cimg_Tfloat > acos(const CImg< T > &instance)