CGI/exercise3/include/Volume.h
2018-11-13 09:22:55 +01:00

12 lines
No EOL
424 B
C

// 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);