Skip to content

File covers.h

File List > algorithm > covers.h

Go to the documentation of this file

// Copyright (c) 2012-2013, IGN France.
// Copyright (c) 2012-2022, Oslandia.
// SPDX-License-Identifier: LGPL-2.0-or-later

#ifndef SFCGAL_COVERS_ALGORITHM
#define SFCGAL_COVERS_ALGORITHM

#include "SFCGAL/config.h"

#include <vector>

namespace SFCGAL {
class Geometry;
class Solid;
class Point;
namespace detail {
template <int Dim>
class GeometrySet;
template <int Dim>
struct PrimitiveHandle;
} // namespace detail

namespace algorithm {
SFCGAL_API bool
covers(const Geometry &ga, const Geometry &gb);

SFCGAL_API bool
covers3D(const Geometry &ga, const Geometry &gb);

template <int Dim>
bool
covers(const detail::GeometrySet<Dim> &a, const detail::GeometrySet<Dim> &b);

template <int Dim>
bool
covers(const detail::PrimitiveHandle<Dim> &a,
       const detail::PrimitiveHandle<Dim> &b);
} // namespace algorithm
} // namespace SFCGAL

#endif