Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RMath.h File Reference
#include "../core_global.h"
#include <QMetaType>
#include <cstdio>
#include <cmath>
#include <cerrno>
#include <limits>
#include "RVector.h"

Go to the source code of this file.


class  RMath
 Math functions. More...


#define M_PI   3.14159265358979323846
 Copyright (c) 2011-2015 by Andrew Mustun.
#define M_PI_2   1.57079632679489661923
#define RINFDOUBLE   std::numeric_limits<double>::infinity()
#define RMAXDOUBLE   std::numeric_limits<double>::max()
#define RMINDOUBLE   -std::numeric_limits<double>::max()
#define RNANDOUBLE   std::numeric_limits<double>::quiet_NaN()



Macro Definition Documentation

#define M_PI   3.14159265358979323846

Copyright (c) 2011-2015 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

#define M_PI_2   1.57079632679489661923
#define RINFDOUBLE   std::numeric_limits<double>::infinity()
#define RMAXDOUBLE   std::numeric_limits<double>::max()
#define RMINDOUBLE   -std::numeric_limits<double>::max()
#define RNANDOUBLE   std::numeric_limits<double>::quiet_NaN()

Function Documentation