Geogram
Version 1.9.1-rc
A programming library of geometric algorithms
|
Public Member Functions | |
RadialPolylines (MeshSurfaceIntersection &I) | |
RadialPolylines constructor. More... | |
void | initialize () |
Initializes the structure. More... | |
void | radial_sort () |
Sorts all the bundles of all polylines. More... | |
index_t | nb () const |
Gets the number of polylines. | |
index_as_iterator | begin () const |
used by range-based for More... | |
index_as_iterator | end () const |
used by range-based for More... | |
const_index_ptr_range | bundles (index_t polyline) const |
gets the bundles in a polyline More... | |
index_t | nb_bundles (index_t polyline) const |
index_t | bundle (index_t polyline, index_t li) const |
void | get_skeleton (Mesh &to, bool trim_fins=false) |
Copies the set of polylines to a mesh. More... | |
Definition at line 1039 of file mesh_surface_intersection.h.
|
inline |
RadialPolylines constructor.
[in] | I | a reference to the MeshSurfaceIntersectionx |
Definition at line 1045 of file mesh_surface_intersection.h.
|
inline |
used by range-based for
Definition at line 1072 of file mesh_surface_intersection.h.
|
inline |
gets the bundles in a polyline
[in] | polyline | index of the polyline |
Definition at line 1089 of file mesh_surface_intersection.h.
|
inline |
used by range-based for
Definition at line 1080 of file mesh_surface_intersection.h.
void GEO::MeshSurfaceIntersection::RadialPolylines::get_skeleton | ( | Mesh & | to, |
bool | trim_fins = false |
||
) |
Copies the set of polylines to a mesh.
Used for visualization purposes
[out] | to | a mesh that will contain all the polygonal lines |
[in] | trim_fins | if set, do not keep bundles that have less than three halfedges. |
void GEO::MeshSurfaceIntersection::RadialPolylines::initialize | ( | ) |
Initializes the structure.
Needs to be called before any other function
void GEO::MeshSurfaceIntersection::RadialPolylines::radial_sort | ( | ) |
Sorts all the bundles of all polylines.
The "chart" facet attribute needs to be initialized with all surface connected components before calling this function.