SFCGAL 2.3.0
SFCGAL::detail::algorithm Namespace Reference

Algorithm detail namespace. More...

Functions

auto coversPoints (const Geometry &ga, const Geometry &gb) -> bool
 Pseudo cover test on 2D geometries.
auto coversPoints3D (const Geometry &ga, const Geometry &gb) -> bool
 Pseudo cover test on 3D geometries.

Detailed Description

Algorithm detail namespace.

Function Documentation

◆ coversPoints()

SFCGAL_API auto SFCGAL::detail::algorithm::coversPoints ( const Geometry & ga,
const Geometry & gb ) -> bool

Pseudo cover test on 2D geometries.

Collect points of gb and tests if no points of gb is outside ga

Parameters
gaThe covering geometry
gbThe geometry to test coverage for
Returns
True if ga covers all points of gb

◆ coversPoints3D()

SFCGAL_API auto SFCGAL::detail::algorithm::coversPoints3D ( const Geometry & ga,
const Geometry & gb ) -> bool

Pseudo cover test on 3D geometries.

Collect points of gb and tests if no points of gb is outside ga

Parameters
gaThe covering geometry
gbThe geometry to test coverage for
Returns
True if ga covers all points of gb in 3D