19 lines
No EOL
391 B
C++
19 lines
No EOL
391 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
|
|
|
|
#include "SurfaceArea.h"
|
|
#include "triangles.h"
|
|
|
|
#include <iostream>
|
|
|
|
float ComputeSurfaceArea(const HEMesh& m)
|
|
{
|
|
Triangles triangles(m);
|
|
|
|
float area = 0.0f;
|
|
|
|
area = triangles.surface_area();
|
|
|
|
return area;
|
|
} |