Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef FACTOR_INCLUDED
00030 #define FACTOR_INCLUDED
00031
00032 #include <pcl/pcl_exports.h>
00033
00034 #define PI 3.1415926535897932384
00035 #define SQRT_3 1.7320508075688772935
00036
00037 namespace pcl
00038 {
00039 namespace poisson
00040 {
00041 PCL_EXPORTS double ArcTan2(double y,double x);
00042 PCL_EXPORTS double Angle(const double in[2]);
00043 PCL_EXPORTS void Sqrt(const double in[2],double out[2]);
00044 PCL_EXPORTS void Add(const double in1[2],const double in2[2],double out[2]);
00045 PCL_EXPORTS void Subtract(const double in1[2],const double in2[2],double out[2]);
00046 PCL_EXPORTS void Multiply(const double in1[2],const double in2[2],double out[2]);
00047 PCL_EXPORTS void Divide(const double in1[2],const double in2[2],double out[2]);
00048
00049 PCL_EXPORTS int Factor(double a1,double a0,double roots[1][2],double EPS);
00050 PCL_EXPORTS int Factor(double a2,double a1,double a0,double roots[2][2],double EPS);
00051 PCL_EXPORTS int Factor(double a3,double a2,double a1,double a0,double roots[3][2],double EPS);
00052 PCL_EXPORTS int Factor(double a4,double a3,double a2,double a1,double a0,double roots[4][2],double EPS);
00053
00054 PCL_EXPORTS int Solve(const double* eqns,const double* values,double* solutions, int dim);
00055
00056 }
00057 }
00058
00059
00060 #endif // FACTOR_INCLUDED