Skip to content
Snippets Groups Projects
Commit 7b8ac8ab authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 783930dd
No related branches found
No related tags found
No related merge requests found
// $Id: DivideAndConquer.cpp,v 1.11 2008-01-19 22:06:03 geuzaine Exp $ // $Id: DivideAndConquer.cpp,v 1.12 2008-01-22 19:54:04 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -40,6 +40,9 @@ ...@@ -40,6 +40,9 @@
#include "DivideAndConquer.h" #include "DivideAndConquer.h"
#include "Malloc.h" #include "Malloc.h"
#define Pred(x) ((x)->prev)
#define Succ(x) ((x)->next)
static PointRecord *pPointArray; static PointRecord *pPointArray;
int Insert(PointNumero a, PointNumero b); int Insert(PointNumero a, PointNumero b);
......
...@@ -22,11 +22,8 @@ ...@@ -22,11 +22,8 @@
#include <math.h> #include <math.h>
#define RADTODEG 57.295779513082321 #define Pi 3.1415926535897932
#define RacineDeDeux 1.4142135623730950 #define Deux_Pi 6.2831853071795865
#define RacineDeTrois 1.7320508075688773
#define Pi 3.1415926535897932
#define Deux_Pi 6.2831853071795865
#if !defined(M_PI) #if !defined(M_PI)
#define M_PI Pi #define M_PI Pi
...@@ -49,13 +46,8 @@ ...@@ -49,13 +46,8 @@
#define DSQR SQR #define DSQR SQR
#define FSQR SQR #define FSQR SQR
#define THRESHOLD(a,b,c) (((a)>(c))?(c):((a)<(b)?(b):(a)))
#define myhypot(a,b) (sqrt((a)*(a)+(b)*(b))) #define myhypot(a,b) (sqrt((a)*(a)+(b)*(b)))
#define sign(x) (((x)>=0)?1:-1) #define sign(x) (((x)>=0)?1:-1)
#define Pred(x) ((x)->prev)
#define Succ(x) ((x)->next)
#define square(x) ((x)*(x))
double myatan2(double a, double b); double myatan2(double a, double b);
double myasin(double a); double myasin(double a);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment