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