/******************************************************************************
* Convex.h - test convexity and converts polygons to convex ones.	      *
*******************************************************************************
* Written by Gershon Elber, March 1990.					      *
******************************************************************************/

#ifndef CONVEX_GH
#define CONVEX_GH

/* Prototypes of global functions of CONVEX module: */
IPObjectStruct *ConvexPolyObjectN(IPObjectStruct *PObj);
void ConvexPolyObject(IPObjectStruct *PObj);
int ConvexPolygon(IPPolygonStruct *Pl);
IPPolygonStruct *SplitNonConvexPoly(IPPolygonStruct *Pl);
void GenRotateMatrix(MatrixType Mat, VectorType Dir);
void ReverseVrtxList(IPPolygonStruct *Pl);

#endif /* CONVEX_GH */
