Skip to content

Namespace SFCGAL::detail

Namespace List > SFCGAL > detail

Namespaces

Type Name
namespace algorithm
namespace io

Classes

Type Name
struct BoxCollection <Dim>
BoxCollection for use with CGAL::Box_intersection_d.
class CollectionElement <class Primitive>
struct ComparePoints
struct ComplexComparator
class EnvelopeVisitor
class ForceValidityVisitor
class GeometrySet <Dim>
class GetPointsVisitor
struct Halfedge_with_mark <class Refs>
struct HandleCollection <Dim>
HandleCollection . Used to storePrimitiveHandle .
class Interval
struct IsPrimitiveLarger <class X, class Y>
Tests if a primitive type has a larger dimension than another one.
struct Items_with_mark_on_hedge
struct NoVolume
struct Point_d <Dim>
Another way of looking at TypeForDimension<Dim>::Point.
struct PrimitiveBox <Dim>
PrimitiveBox . Type used for CGAL::Box_intersection_d.
struct PrimitiveDimension <class T>
struct PrimitiveDimension< TypeForDimension< 2 >::Segment > <>
struct PrimitiveDimension< TypeForDimension< 2 >::Surface > <>
struct PrimitiveDimension< TypeForDimension< 2 >::Volume > <>
struct PrimitiveDimension< TypeForDimension< 3 >::Segment > <>
struct PrimitiveDimension< TypeForDimension< 3 >::Surface > <>
struct PrimitiveDimension< TypeForDimension< 3 >::Volume > <>
struct PrimitiveHandle <Dim>
struct Segment_d <Dim>
Another way of looking at TypeForDimension<Dim>::Segment.
struct Surface_d <Dim>
Another way of looking at TypeForDimension<Dim>::Surface.
struct TypeForDimension <Dim>
Generic traits, default dimension is 2.
struct TypeForDimension< 3 > <>
Specialization for dimension = 3.
struct Volume_d <Dim>
Another way of looking at TypeForDimension<Dim>::Volume.
struct dim_t <N>
Create a distinct type for each dimension.

Public Types

Type Name
enum ElementFlag
typedef CGAL::Polyhedron_3< Kernel, Items_with_mark_on_hedge > MarkedPolyhedron
enum PrimitiveType
Primitive type enumeration. Note that the value is the dimension !

Public Functions

Type Name
void _collect_points (const CGAL::Polygon_with_holes_2< Kernel > & poly, GeometrySet< 2 >::PointCollection & points)
void _collect_points (const CGAL::Triangle_3< Kernel > & tri, GeometrySet< 3 >::PointCollection & points)
void _collect_points (const NoVolume &, GeometrySet< 2 >::PointCollection &)
void _collect_points (const MarkedPolyhedron & poly, GeometrySet< 3 >::PointCollection & points)
void _decompose_polygon (const Polygon & poly, GeometrySet< 2 >::SurfaceCollection & surfaces, dim_t< 2 >)
void _decompose_polygon (const Polygon & poly, GeometrySet< 3 >::SurfaceCollection & surfaces, dim_t< 3 >)
void _decompose_solid (const Solid &, GeometrySet< 2 >::VolumeCollection &, dim_t< 2 >)
void _decompose_solid (const Solid & solid, GeometrySet< 3 >::VolumeCollection & volumes, dim_t< 3 >)
void _decompose_triangle (const Triangle & tri, GeometrySet< 2 >::SurfaceCollection & surfaces, dim_t< 2 >)
void _decompose_triangle (const Triangle & tri, GeometrySet< 3 >::SurfaceCollection & surfaces, dim_t< 3 >)
void _filter_covered (IT ibegin, IT iend, GeometrySet< Dim > & output)
CGAL::Bbox_2 compute_solid_bbox (const NoVolume &, dim_t< 2 >)
CGAL::Bbox_3 compute_solid_bbox (const TypeForDimension< 3 >::Volume & vol, dim_t< 3 >)
auto operator<< (std::ostream & ostr, const GeometrySet< 2 > & g)
Display operator.
auto operator<< (std::ostream & ostr, const GeometrySet< 3 > & g)
Display operator.
std::ostream & operator<< (std::ostream & ostr, const CollectionElement< Primitive > & p)
auto polygonSetToMultiPolygon (const CGAL::Polygon_set_2< Kernel > & polygonSet)
convert a CGAL::Polygon_set_2 to a MultiPolygon __
void recompose_points (const typename GeometrySet< Dim >::PointCollection & points, std::vector< Geometry * > & rpoints, dim_t< Dim >)
void recompose_segments (const typename GeometrySet< Dim >::SegmentCollection & segments, std::vector< Geometry * > & lines, dim_t< Dim >)
void recompose_surfaces (const GeometrySet< 2 >::SurfaceCollection & surfaces, std::vector< Geometry * > & output, dim_t< 2 >)
void recompose_surfaces (const GeometrySet< 3 >::SurfaceCollection & surfaces, std::vector< Geometry * > & output, dim_t< 3 >)
void recompose_volumes (const GeometrySet< 2 >::VolumeCollection &, std::vector< Geometry * > &, dim_t< 2 >)
void recompose_volumes (const GeometrySet< 3 >::VolumeCollection & volumes, std::vector< Geometry * > & output, dim_t< 3 >)

Public Types Documentation

enum ElementFlag

enum SFCGAL::detail::ElementFlag {
    FLAG_IS_PLANAR = 1
};

Flags available for each type of Geometry type. Primitives can be 'flagged' in order to speed up recomposition


typedef MarkedPolyhedron

typedef CGAL::Polyhedron_3<Kernel, Items_with_mark_on_hedge> SFCGAL::detail::MarkedPolyhedron;

enum PrimitiveType

enum SFCGAL::detail::PrimitiveType {
    PrimitivePoint = 0,
    PrimitiveSegment = 1,
    PrimitiveSurface = 2,
    PrimitiveVolume = 3
};

Public Functions Documentation

function _collect_points

void SFCGAL::detail::_collect_points (
    const CGAL::Polygon_with_holes_2< Kernel > & poly,
    GeometrySet < 2 >::PointCollection & points
) 

function _collect_points

void SFCGAL::detail::_collect_points (
    const CGAL::Triangle_3< Kernel > & tri,
    GeometrySet < 3 >::PointCollection & points
) 

function _collect_points

void SFCGAL::detail::_collect_points (
    const NoVolume &,
    GeometrySet < 2 >::PointCollection &
) 

function _collect_points

void SFCGAL::detail::_collect_points (
    const MarkedPolyhedron & poly,
    GeometrySet < 3 >::PointCollection & points
) 

function _decompose_polygon

void SFCGAL::detail::_decompose_polygon (
    const Polygon & poly,
    GeometrySet < 2 >::SurfaceCollection & surfaces,
    dim_t < 2 >
) 

function _decompose_polygon

void SFCGAL::detail::_decompose_polygon (
    const Polygon & poly,
    GeometrySet < 3 >::SurfaceCollection & surfaces,
    dim_t < 3 >
) 

function _decompose_solid

void SFCGAL::detail::_decompose_solid (
    const Solid &,
    GeometrySet < 2 >::VolumeCollection &,
    dim_t < 2 >
) 

function _decompose_solid

void SFCGAL::detail::_decompose_solid (
    const Solid & solid,
    GeometrySet < 3 >::VolumeCollection & volumes,
    dim_t < 3 >
) 

function _decompose_triangle

void SFCGAL::detail::_decompose_triangle (
    const Triangle & tri,
    GeometrySet < 2 >::SurfaceCollection & surfaces,
    dim_t < 2 >
) 

function _decompose_triangle

void SFCGAL::detail::_decompose_triangle (
    const Triangle & tri,
    GeometrySet < 3 >::SurfaceCollection & surfaces,
    dim_t < 3 >
) 

function _filter_covered

template<int Dim, class IT>
void SFCGAL::detail::_filter_covered (
    IT ibegin,
    IT iend,
    GeometrySet < Dim > & output
) 

function compute_solid_bbox

inline CGAL::Bbox_2 SFCGAL::detail::compute_solid_bbox (
    const NoVolume &,
    dim_t < 2 >
) 

function compute_solid_bbox

inline CGAL::Bbox_3 SFCGAL::detail::compute_solid_bbox (
    const TypeForDimension < 3 >::Volume & vol,
    dim_t < 3 >
) 

function operator<<

auto SFCGAL::detail::operator<< (
    std::ostream & ostr,
    const GeometrySet < 2 > & g
) 

function operator<<

auto SFCGAL::detail::operator<< (
    std::ostream & ostr,
    const GeometrySet < 3 > & g
) 

function operator<<

template<class Primitive>
std::ostream & SFCGAL::detail::operator<< (
    std::ostream & ostr,
    const CollectionElement < Primitive > & p
) 

function polygonSetToMultiPolygon

convert a CGAL::Polygon_set_2 to a MultiPolygon __

auto SFCGAL::detail::polygonSetToMultiPolygon (
    const CGAL::Polygon_set_2< Kernel > & polygonSet
) 

Todo

unittest


function recompose_points

template<int Dim>
void SFCGAL::detail::recompose_points (
    const typename GeometrySet < Dim >::PointCollection & points,
    std::vector< Geometry * > & rpoints,
    dim_t < Dim >
) 

function recompose_segments

template<int Dim>
void SFCGAL::detail::recompose_segments (
    const typename GeometrySet < Dim >::SegmentCollection & segments,
    std::vector< Geometry * > & lines,
    dim_t < Dim >
) 

function recompose_surfaces

void SFCGAL::detail::recompose_surfaces (
    const GeometrySet < 2 >::SurfaceCollection & surfaces,
    std::vector< Geometry * > & output,
    dim_t < 2 >
) 

function recompose_surfaces

void SFCGAL::detail::recompose_surfaces (
    const GeometrySet < 3 >::SurfaceCollection & surfaces,
    std::vector< Geometry * > & output,
    dim_t < 3 >
) 

function recompose_volumes

void SFCGAL::detail::recompose_volumes (
    const GeometrySet < 2 >::VolumeCollection &,
    std::vector< Geometry * > &,
    dim_t < 2 >
) 

function recompose_volumes

void SFCGAL::detail::recompose_volumes (
    const GeometrySet < 3 >::VolumeCollection & volumes,
    std::vector< Geometry * > & output,
    dim_t < 3 >
) 


The documentation for this class was generated from the following file /builds/sfcgal/SFCGAL/src/algorithm/covers.h