Bayeux  3.4.1
Core Foundation library for SuperNEMO
Public Member Functions | List of all members
geomtools::split_segment_wrt_shape Class Reference

This algorithm splits a segment, a polyline or a collection of polylines in a sequence of smaller segments that are classified as inside, outside or on surface of a given shape. More...

#include <bayeux/geomtools/i_wires_3d_rendering.h>

Public Member Functions

 split_segment_wrt_shape ()
 Default constructor. More...
 
void reset ()
 Reset the current configuration. More...
 
void clear ()
 Clear former results. More...
 
void configure (const i_shape_3d &shape_, double step_, double tolerance_)
 Configure the algorithm. More...
 
void configure (const i_shape_3d &shape_, const placement &shape_placement_, double step_, double tolerance_)
 Configure the algorithm. More...
 
bool is_configured () const
 Check configuration flag. More...
 
void add (const segment_type &segment_)
 Process a segment. More...
 
void add (const polyline_type &path_)
 Process a polyline. More...
 
void add (const wires_type &paths_)
 Process a collection of polyline. More...
 
unsigned int fetch_inside_segments (std::list< segment_type > &segments_)
 Fetch and build the segments with 'inside' classification. More...
 
unsigned int fetch_inside_wires (wires_type &wires_)
 Fetch and build the wires with 'inside' classification. More...
 
unsigned int fetch_outside_segments (std::list< segment_type > &segments_)
 Fetch and build the segments with 'outside' classification. More...
 
unsigned int fetch_outside_wires (wires_type &wires_)
 Fetch and build the wires with 'outside' classification. More...
 
unsigned int fetch_surface_segments (std::list< segment_type > &segments_)
 Fetch and build the segments with 'on surface' classification. More...
 
unsigned int fetch_surface_wires (wires_type &wires_)
 Fetch and build the wires with 'surface' classification. More...
 
unsigned int fetch_all_segments (std::list< segment_type > &segments_)
 Fetch and build all the segments. More...
 
unsigned int fetch_all_wires (wires_type &wires_)
 Fetch and build all the wires. More...
 

Detailed Description

This algorithm splits a segment, a polyline or a collection of polylines in a sequence of smaller segments that are classified as inside, outside or on surface of a given shape.

Constructor & Destructor Documentation

◆ split_segment_wrt_shape()

geomtools::split_segment_wrt_shape::split_segment_wrt_shape ( )

Default constructor.

Member Function Documentation

◆ add() [1/3]

void geomtools::split_segment_wrt_shape::add ( const segment_type segment_)

Process a segment.

◆ add() [2/3]

void geomtools::split_segment_wrt_shape::add ( const polyline_type path_)

Process a polyline.

◆ add() [3/3]

void geomtools::split_segment_wrt_shape::add ( const wires_type paths_)

Process a collection of polyline.

◆ clear()

void geomtools::split_segment_wrt_shape::clear ( )

Clear former results.

◆ configure() [1/2]

void geomtools::split_segment_wrt_shape::configure ( const i_shape_3d shape_,
double  step_,
double  tolerance_ 
)

Configure the algorithm.

◆ configure() [2/2]

void geomtools::split_segment_wrt_shape::configure ( const i_shape_3d shape_,
const placement shape_placement_,
double  step_,
double  tolerance_ 
)

Configure the algorithm.

◆ fetch_all_segments()

unsigned int geomtools::split_segment_wrt_shape::fetch_all_segments ( std::list< segment_type > &  segments_)

Fetch and build all the segments.

◆ fetch_all_wires()

unsigned int geomtools::split_segment_wrt_shape::fetch_all_wires ( wires_type wires_)

Fetch and build all the wires.

◆ fetch_inside_segments()

unsigned int geomtools::split_segment_wrt_shape::fetch_inside_segments ( std::list< segment_type > &  segments_)

Fetch and build the segments with 'inside' classification.

◆ fetch_inside_wires()

unsigned int geomtools::split_segment_wrt_shape::fetch_inside_wires ( wires_type wires_)

Fetch and build the wires with 'inside' classification.

◆ fetch_outside_segments()

unsigned int geomtools::split_segment_wrt_shape::fetch_outside_segments ( std::list< segment_type > &  segments_)

Fetch and build the segments with 'outside' classification.

◆ fetch_outside_wires()

unsigned int geomtools::split_segment_wrt_shape::fetch_outside_wires ( wires_type wires_)

Fetch and build the wires with 'outside' classification.

◆ fetch_surface_segments()

unsigned int geomtools::split_segment_wrt_shape::fetch_surface_segments ( std::list< segment_type > &  segments_)

Fetch and build the segments with 'on surface' classification.

◆ fetch_surface_wires()

unsigned int geomtools::split_segment_wrt_shape::fetch_surface_wires ( wires_type wires_)

Fetch and build the wires with 'surface' classification.

◆ is_configured()

bool geomtools::split_segment_wrt_shape::is_configured ( ) const

Check configuration flag.

◆ reset()

void geomtools::split_segment_wrt_shape::reset ( )

Reset the current configuration.


The documentation for this class was generated from the following file: