SFCGAL  2.3.0
Functions
SFCGAL::detail::algorithm Namespace Reference

Algorithm detail namespace. More...

Typedefs

using FaceIndex = Surface_mesh_3::Face_index
 
using HalfedgeIndex = Surface_mesh_3::Halfedge_index
 

Functions

auto coversPoints (const Geometry &ga, const Geometry &gb) -> bool
 Pseudo cover test on 2D geometries. More...
 
auto coversPoints3D (const Geometry &ga, const Geometry &gb) -> bool
 Pseudo cover test on 3D geometries. More...
 
using VertexIndex = Surface_mesh_3::Vertex_index
 

Detailed Description

Algorithm detail namespace.

Typedef Documentation

using SFCGAL::detail::algorithm::FaceIndex = typedef Surface_mesh_3::Face_index
using SFCGAL::detail::algorithm::HalfedgeIndex = typedef Surface_mesh_3::Halfedge_index
using SFCGAL::detail::algorithm::VertexIndex = typedef Surface_mesh_3::Vertex_index

Function Documentation

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
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