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

12 lines
No EOL
429 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 ComputeSurfaceArea(const HEMesh& m);