45 #ifndef _PRIMITIVEPOSITIONING_H 46 #define _PRIMITIVEPOSITIONING_H 74 double C,std::vector<int>& signs,std::vector<double>& zvals,
75 int& Smin,
int& Smax,
double I_EPS) ;
88 double I_EPS,
double & t1,
double & t2) ;
static gpc_polygon createGPCPolygon_XY(const Polygone *P)
static void splitPrimitive(Primitive *P, const NVector3 &v, double c, Primitive *&prim_up, Primitive *&prim_lo)
static int computeRelativePosition(const Primitive *p1, const Primitive *p2)
static int inverseRP(int)
static void getsigns(const Primitive *P, const NVector3 &v, double C, std::vector< int > &signs, std::vector< double > &zvals, int &Smin, int &Smax, double I_EPS)
static void split(Segment *S, const NVector3 &v, double C, Primitive *&P_plus, Primitive *&P_moins)
static bool pointOutOfPolygon_XY(const Vector3 &P, const Polygone *Q, double I_EPS)
static bool intersectSegments_XY(const Vector2 &P1, const Vector2 &Q1, const Vector2 &P2, const Vector2 &Q2, double I_EPS, double &t1, double &t2)