Skip to content

File alphaShapes.h

File List > algorithm > alphaShapes.h

Go to the documentation of this file


#ifndef SFCGAL_ALGORITHM_ALPHASHAPES_H_
#define SFCGAL_ALGORITHM_ALPHASHAPES_H_

#include "SFCGAL/config.h"

#include "SFCGAL/Geometry.h"

namespace SFCGAL {
namespace algorithm {

SFCGAL_API auto
alphaShapes(const Geometry &g, double alpha = 1, bool allow_holes = false)
    -> std::unique_ptr<Geometry>;

SFCGAL_API auto
optimal_alpha_shapes(const Geometry &g, bool allow_holes = false,
                     size_t nb_components = 1) -> std::unique_ptr<Geometry>;

} // namespace algorithm
} // namespace SFCGAL

#endif