Classes | Namespaces | Macros | Functions
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

 ConvexDecomposition
 

Macros

#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)
 

Macro Definition Documentation

◆ MAXPTS

#define MAXPTS   256

Definition at line 126 of file planetri.cpp.



convex_decomposition
Author(s): John W. Ratcliff
autogenerated on Wed Mar 2 2022 00:04:59