#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "planetri.h"
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 MAXPTS 256 |
Definition at line 126 of file planetri.cpp.