vtf-logo

geometry.h File Reference

Geometric functions for indexed simplex sets. More...

#include "IndSimpSetIncAdj.h"
#include "../simplex/geometry.h"
#include "geometry.ipp"

Go to the source code of this file.

Namespaces

namespace  geom

Functions

template<bool A, typename T, typename V, typename IS>
IndSimpSetIncAdj< 2, 1, A,
T, V, IS >::Vertex 
geom::computeVertexNormal (const IndSimpSetIncAdj< 2, 1, A, T, V, IS > &mesh, int n)
 Return the outward normal at the specified vertex.
template<bool A, typename T, typename V, typename IS>
void geom::computeVertexNormal (const IndSimpSetIncAdj< 2, 1, A, T, V, IS > &mesh, int n, typename IndSimpSetIncAdj< 2, 1, A, T, V, IS >::Vertex *normal)
 Compute the outward normal at the specified vertex.
template<bool A, typename T, typename V, typename IS>
IndSimpSetIncAdj< 2, 2, A,
T, V, IS >::Vertex 
geom::computeVertexNormal (const IndSimpSetIncAdj< 2, 2, A, T, V, IS > &mesh, int n)
 Return the outward normal at the specified boundary vertex.
template<bool A, typename T, typename V, typename IS>
void geom::computeVertexNormal (const IndSimpSetIncAdj< 2, 2, A, T, V, IS > &mesh, int n, typename IndSimpSetIncAdj< 2, 2, A, T, V, IS >::Vertex *normal)
 Compute the outward normal at the specified boundary vertex.
template<bool A, typename T, typename V, typename IS>
IndSimpSetIncAdj< 3, 2, A,
T, V, IS >::Vertex 
geom::computeVertexNormal (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, int n)
 Return the outward normal at the specified vertex.
template<bool A, typename T, typename V, typename IS>
void geom::computeVertexNormal (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, int n, typename IndSimpSetIncAdj< 3, 2, A, T, V, IS >::Vertex *normal)
 Compute the outward normal at the specified vertex.
template<bool A, typename T, typename V, typename IS>
IndSimpSetIncAdj< 3, 3, A,
T, V, IS >::Vertex 
geom::computeVertexNormal (const IndSimpSetIncAdj< 3, 3, A, T, V, IS > &mesh, int n)
 Return the outward normal at the specified boundary vertex.
template<bool A, typename T, typename V, typename IS>
void geom::computeVertexNormal (const IndSimpSetIncAdj< 3, 3, A, T, V, IS > &mesh, int n, typename IndSimpSetIncAdj< 3, 3, A, T, V, IS >::Vertex *normal)
 Compute the outward normal at the specified boundary vertex.
template<bool A, typename T, typename V, typename IS>
void geom::computeSimplexNormal (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, int simplexIndex, V *simplexNormal)
 Compute the outward normal for the specified simplex (triangle face).
template<bool A, typename T, typename V, typename IS, bool AA>
void geom::computeSimplexNormals (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, ads::Array< 1, V, AA > *simplexNormals)
 Compute the outward normals for the simplices (triangle faces).
template<bool A, typename T, typename V, typename IS, bool AA>
void geom::computeSimplexNormals (const IndSimpSetIncAdj< 2, 1, A, T, V, IS > &mesh, ads::Array< 1, V, AA > *simplexNormals)
 Compute the outward normals for the simplices (line segments).
template<bool A, typename T, typename V, typename IS, bool AA>
void geom::computeVertexNormals (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, const ads::Array< 1, V, AA > &simplexNormals, ads::Array< 1, V, AA > *vertexNormals)
 Compute the outward normals for the vertices.
template<bool A, typename T, typename V, typename IS, bool A1, bool A2>
void geom::computeSimplexAndVertexNormals (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, ads::Array< 1, V, A1 > *simplexNormals, ads::Array< 1, V, A2 > *vertexNormals)
 Compute the outward normals for the simplices and vertices.
template<int N, bool A, typename T, typename V, typename IS>
geom::computeCosineAngle (const IndSimpSetIncAdj< N, 1, A, T, V, IS > &mesh, int vertexIndex)
 Return the cosine of the interior angle at the specified vertex.
template<bool A, typename T, typename V, typename IS>
geom::computeCosineAngle (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, const typename IndSimpSetIncAdj< 3, 2, A, T, V, IS >::Face &face)
 Return the cosine of the interior angle at the specified 1-face.
template<bool A, typename T, typename V, typename IS>
geom::computeCosineBoundaryAngle (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, int vertexIndex)
 Return the cosine of the interior angle at the specified boundary vertex.
template<bool A, typename T, typename V, typename IS>
geom::computeAngle (const IndSimpSetIncAdj< 3, 2, A, T, V, IS > &mesh, int n)
 Return the solid interior angle at the specified vertex.
template<bool A, typename T, typename V, typename IS, typename OutputIterator>
void geom::projectAndGetSimplices (const IndSimpSet< 2, 1, A, T, V, IS > &mesh, OutputIterator simplices)
 Project the line segments to 1-D and collect them.
template<bool A, typename T, typename V, typename IS, typename OutputIterator>
void geom::projectAndGetSimplices (const IndSimpSet< 3, 2, A, T, V, IS > &mesh, OutputIterator simplices)
 Project the triangle simplices to 2-D and collect them.


Detailed Description

Geometric functions for indexed simplex sets.


Generated on Fri Aug 24 12:55:59 2007 for Computational Geometry Package by  doxygen 1.4.7