KrisLibrary  1.0.0
Namespaces | Functions
TriMeshOperators.h File Reference

Utilities for operating on, and walking the topology of, triangle meshes. More...

#include "TriMeshTopology.h"
#include <KrisLibrary/utils/IntPair.h>
#include <KrisLibrary/errors.h>
#include <list>

Go to the source code of this file.

Namespaces

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

Functions

Real Meshing::Angle (const Vector3 &e1, const Vector3 &e2)
 Returns the angle between two vectors.
 
int Meshing::CCWNeighbor (const TriMeshWithTopology &mesh, int t, int v)
 Returns the triangle neighboring t CCW about v.
 
int Meshing::CWNeighbor (const TriMeshWithTopology &mesh, int t, int v)
 Returns the triangle neighboring t CW about v.
 
IntPair Meshing::Neighbors (const TriMeshWithTopology &mesh, int t, int v)
 Returns the (CCW neighbor,CW neighbor) of t about v.
 
int Meshing::CCWAdjacentVertex (const TriMeshWithTopology &mesh, int t, int v)
 Returns the vertex adjacent to v on the CCW side of t.
 
int Meshing::CWAdjacentVertex (const TriMeshWithTopology &mesh, int t, int v)
 Returns the vertex adjacent to v on the CCW side of t.
 
IntPair Meshing::AdjacentVertices (const TriMeshWithTopology &mesh, int t, int v)
 Returns the vertices on t adjacent to v in (CCW,CW) order.
 
bool Meshing::FloatingVertex (const TriMeshWithTopology &mesh, int v)
 Returns true if the vertex is "floating".
 
bool Meshing::BoundaryVertex (const TriMeshWithTopology &mesh, int v)
 Returns true if the vertex is a boundary vertex.
 
Real Meshing::IncidentTriangleArea (const TriMeshWithTopology &mesh, int v)
 
bool Meshing::IncidentTriangleOrdering (const TriMeshWithTopology &mesh, int v, vector< list< int > > &triStrips)
 Returns true if the vertex is a boundary vertex. More...
 
Real Meshing::VertexGaussianCurvature (const TriMeshWithTopology &mesh, int v)
 
Real Meshing::VertexAbsMeanCurvature (const TriMeshWithTopology &mesh, int v)
 
int Meshing::ApproximateShrink (TriMeshWithTopology &mesh, Real amount)
 

Detailed Description

Utilities for operating on, and walking the topology of, triangle meshes.