Graphite  Version 3
An experimental 3D geometry processing program
mesh_halfedges.h File Reference

Classes and function for virtually seeing a mesh as a set of halfedges. More...

#include <geogram/basic/common.h>
#include <geogram/mesh/mesh.h>
#include <geogram/mesh/mesh_geometry.h>
#include <iostream>

Go to the source code of this file.

Classes

class  GEO::MeshHalfedges
 Exposes a half-edge like API for traversing a Mesh. More...
 
struct  GEO::MeshHalfedges::Halfedge
 Stores a reference to a mesh corner and facet, and provides a halfedge-like API. More...
 

Namespaces

 GEO
 Global Vorpaline namespace.
 
 GEO::Geom
 Geometric functions and utilities.
 

Functions

std::ostream & GEO::operator<< (std::ostream &out, const MeshHalfedges::Halfedge &H)
 Displays a Halfedge. More...
 
const vec3 & GEO::Geom::halfedge_vertex_from (const Mesh &M, const MeshHalfedges::Halfedge &H)
 Gets the origin point of a Halfedge. More...
 
const vec3 & GEO::Geom::halfedge_vertex_to (const Mesh &M, const MeshHalfedges::Halfedge &H)
 Gets the arrow extremity point of a Halfedge. More...
 
vec3 GEO::Geom::halfedge_vector (const Mesh &M, const MeshHalfedges::Halfedge &H)
 Gets a 3d vector that connects the origin with the arrow extremity of a Halfedge. More...
 
double GEO::Geom::edge_length (const Mesh &M, const MeshHalfedges::Halfedge &H)
 Gets the length of a Halfedge. More...
 

Detailed Description

Classes and function for virtually seeing a mesh as a set of halfedges.

Definition in file mesh_halfedges.h.