32 #include "DGtal/base/Common.h"
33 #include "ConfigTest.h"
34 #include "DGtalCatch.h"
35 #include "DGtal/helpers/StdDefs.h"
37 #include "DGtal/dec/PolygonalCalculus.h"
38 #include "DGtal/dec/GeodesicsInHeat.h"
39 #include "DGtal/shapes/SurfaceMesh.h"
40 #include "DGtal/shapes/MeshHelpers.h"
44 using namespace DGtal;
50 std::vector<RealPoint> positions = {
RealPoint( 0, 0, 0 ) ,
60 std::vector<Mesh::Vertices> faces = { { 1, 0, 2, 3 },
67 Mesh box(positions.cbegin(), positions.cend(),
68 faces.cbegin(), faces.cend());
73 SECTION(
"Construction and basic operators")
76 REQUIRE( heat.isValid() ==
false );
85 REQUIRE( d.size() == positions.size() );
86 REQUIRE( d[5] == Approx(1.444608) );