CGI/exercise2/include/SurfaceArea.h

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