triangulate.cpp File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <vector>
#include "triangulate.h"
Include dependency graph for triangulate.cpp:

Go to the source code of this file.

Classes

class  ConvexDecomposition::Vec2d

Namespaces

namespace  ConvexDecomposition

Typedefs

typedef std::vector< Vec2d > ConvexDecomposition::Vec2dVector

Functions

static double ConvexDecomposition::Area (const Vec2dVector &contour)
static bool ConvexDecomposition::InsideTriangle (double Ax, double Ay, double Bx, double By, double Cx, double Cy, double Px, double Py)
static bool ConvexDecomposition::Process (const Vec2dVector &contour, Vec2dVector &result)
static bool ConvexDecomposition::Snip (const Vec2dVector &contour, int u, int v, int w, int n, int *V)
unsigned int ConvexDecomposition::triangulate2d (unsigned int pcount, const double *vertices, double *triangles, unsigned int maxTri)
unsigned int ConvexDecomposition::triangulate3d (unsigned int pcount, const unsigned int *indices, const double *vertices, double *triangles, unsigned int maxTri, const double *plane)
unsigned int ConvexDecomposition::triangulate3d (unsigned int pcount, const double *vertices, double *triangles, unsigned int maxTri, const double *plane)

Variables

static const double ConvexDecomposition::EPSILON = 0.0000000001f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


convex_decomposition
Author(s): John Ratcliff
autogenerated on Fri Jan 11 09:51:03 2013