Classes | Defines | Functions
contrib/brl/bbas/imesh/imesh_vertex.h File Reference

A mesh vertex. More...

#include <vcl_cassert.h>
#include <vgl/vgl_point_2d.h>
#include <vgl/vgl_point_3d.h>
#include <vgl/vgl_vector_3d.h>

Go to the source code of this file.

Classes

class  imesh_vertex< d >
 A mesh face with a fixed number of vertices. More...
class  imesh_vertex< 2 >
 A 2d vertex specialization with extra capabilities. More...
class  imesh_vertex< 3 >
 A 3d vertex specialization with extra capabilities. More...
class  imesh_vertex_array_base
 Abstract base class for a collection of vertices. More...
class  imesh_vertex_array< d >
 An array of vertices of dimension d. More...

Defines

#define imesh_invalid_idx   (static_cast<unsigned int>(-1))

Functions

vgl_vector_3d< double > imesh_tri_normal (const imesh_vertex< 3 > &a, const imesh_vertex< 3 > &b, const imesh_vertex< 3 > &c)
 compute the vector normal to the plane defined by 3 vertices.

Detailed Description

A mesh vertex.

Author:
Matt Leotta (mleotta@lems.brown.edu)
Date:
May 5, 2008
    Modifications
     <none yet>
   

Definition in file imesh_vertex.h.


Define Documentation

#define imesh_invalid_idx   (static_cast<unsigned int>(-1))

Definition at line 20 of file imesh_vertex.h.


Function Documentation

vgl_vector_3d<double> imesh_tri_normal ( const imesh_vertex< 3 > &  a,
const imesh_vertex< 3 > &  b,
const imesh_vertex< 3 > &  c 
)

compute the vector normal to the plane defined by 3 vertices.

Definition at line 11 of file imesh_vertex.cxx.