$search

planetri.cpp File Reference

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

Go to the source code of this file.

Classes

class  ConvexDecomposition::plane
class  ConvexDecomposition::point
class  ConvexDecomposition::polygon

Namespaces

namespace  ConvexDecomposition

Defines

#define MAXPTS   256

Functions

static void ConvexDecomposition::add (const double *p, double *dest, unsigned int tstride, unsigned int &pcount)
static double ConvexDecomposition::DistToPt (const double *p, const double *plane)
static PlaneTriResult ConvexDecomposition::getSidePlane (const double *p, const double *plane, double epsilon)
static void ConvexDecomposition::intersect (const double *p1, const double *p2, double *split, const double *plane)
PlaneTriResult ConvexDecomposition::planeTriIntersection (const double *_plane, const double *triangle, unsigned int tstride, double epsilon, double *front, unsigned int &fcount, double *back, unsigned int &bcount)
void ConvexDecomposition::Split_Polygon (polygon *poly, plane *part, polygon &front, polygon &back)

Define Documentation

#define MAXPTS   256

Definition at line 126 of file planetri.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


convex_decomposition
Author(s): John Ratcliff
autogenerated on Tue Mar 5 12:17:27 2013