3#include <ACG/Math/VectorT.hh>
4#include <OpenVolumeMesh/Core/Entities.hh>
5#include <OpenVolumeMesh/Core/GeometryKernel.hh>
18 auto edge = mesh_.
edge(eh);
19 return 0.5 * (mesh_.
vertex(edge.from_vertex()) + mesh_.
vertex(edge.to_vertex()));
24 return (1./3.) * (2 * mesh_.
vertex(edge.from_vertex()) + mesh_.
vertex(edge.to_vertex()));
30 for (
auto vh: mesh_.cell_vertices(ch)) {
47 for (
auto vh: mesh_.halfface_vertices(hfh)) {
const VecT & vertex(VertexHandle _vh) const
Get point _vh's coordinates.
static HalfFaceHandle halfface_handle(FaceHandle _h, const unsigned char _subIdx)
Conversion function.
Edge halfedge(HalfEdgeHandle _halfEdgeHandle) const
Get edge that corresponds to halfedge with handle _halfEdgeHandle.
const Edge & edge(EdgeHandle _edgeHandle) const
Get edge with handle _edgeHandle.