CGI/exercise3/include/Volume.h

12 lines
424 B
C
Raw Normal View History

2018-09-06 12:35:43 +00:00
// This source code is property of the Computer Graphics and Visualization
// chair of the TU Dresden. Do not distribute!
// Copyright (C) CGV TU Dresden - All Rights Reserved
#pragma once
#include "util/OpenMeshUtils.h"
//computes the surface area of the halfedge mesh m by computing and summing up the
//areas of all polygonal faces
//method is not restricted to triangle meshes
float ComputeVolume(const HEMesh& m);