KrisLibrary  1.0.0
Classes | Namespaces | Functions
Meshing.h File Reference

Utilities for manipulating triangle meshes. More...

#include "TriMeshTopology.h"
#include <KrisLibrary/math3d/Triangle2D.h>

Go to the source code of this file.

Classes

struct  Meshing::TriSplitter
 A class that allows incremental plane-splitting of a triangle mesh. More...
 

Namespaces

 Meshing
 The namespace for all classes/functions in the Meshing package.
 

Functions

int Meshing::SplitTriangle (const Triangle3D &t, const Plane3D &p, Vector3 newPts[2], IntTriple newTris[3], bool triPositive[3], Real tol)
 Splits the triangle t by the plane p. Returns the number of resulting triangles (up to 3). More...
 
int Meshing::SplitTriangle (const Triangle2D &_t, const Plane2D &p, Vector2 newPts[2], IntTriple newTris[3], bool triPositive[3], Real tol)
 
void Meshing::GetCoplanarTris (const TriMesh &mesh, int t, Real tol, vector< int > &tris)
 
void Meshing::GetConnectedCoplanarTris (const TriMeshWithTopology &mesh, int t, Real tol, vector< int > &tris)
 

Detailed Description

Utilities for manipulating triangle meshes.