52 #define OPENMESH_TRIMESH_C 58 #include <OpenMesh/Core/Mesh/TriMeshT.hh> 71 template <
class Kernel>
72 typename TriMeshT<Kernel>::Normal
76 assert(this->halfedge_handle(_fh).is_valid());
79 const Point& p0(this->point(*fv_it)); ++fv_it;
80 const Point& p1(this->point(*fv_it)); ++fv_it;
81 const Point& p2(this->point(*fv_it));
83 return PolyMesh::calc_face_normal(p0, p1, p2);
Normal calc_face_normal(FaceHandle _fh) const
Calculate normal vector for face _fh (specialized for TriMesh).
Definition: TriMeshT_impl.hh:74
Contains all the mesh ingredients like the polygonal mesh, the triangle mesh, different mesh kernels ...
Definition: MeshItems.hh:59
Kernel::Point Point
Coordinate type.
Definition: PolyMeshT.hh:112
This file provides the streams omlog, omout, and omerr.
Kernel::ConstFaceVertexIter ConstFaceVertexIter
Circulator.
Definition: PolyMeshT.hh:177