DGtalTools  1.2.0
surface_extract.h
1 #pragma once
2 
3 #include <tuple>
4 
5 template <typename Shape>
6 Calculus
7 createCalculusFromShapeBorder(const KSpace& kspace, const Shape& shape);
8 
9 template <typename Shape>
10 FlatVector
11 computeFaceNormals(const Calculus& calculus, const Shape& shape, const double radius);
12 
13 template <typename Shape>
14 std::tuple<Calculus, FlatVector>
15 initCalculusAndNormals(const KSpace& kspace, const Shape& shape, const double radius);
16 
17 template <typename Shape>
18 std::tuple<Calculus, FlatVector>
19 initCalculusAndNormalsWithNoise(const KSpace& kspace, const Shape& shape, const double radius, const double noise);
20 
21 #include "surface_extract.ih"
22