Graphite  Version 3
An experimental 3D geometry processing program
GEO::MeshSurfaceIntersection::RadialPolylines Class Reference

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

Detailed Description

Definition at line 1039 of file mesh_surface_intersection.h.

Constructor & Destructor Documentation

◆ RadialPolylines()

GEO::MeshSurfaceIntersection::RadialPolylines::RadialPolylines ( MeshSurfaceIntersection I)
inline

RadialPolylines constructor.

Parameters
[in]Ia reference to the MeshSurfaceIntersectionx

Definition at line 1045 of file mesh_surface_intersection.h.

Member Function Documentation

◆ begin()

index_as_iterator GEO::MeshSurfaceIntersection::RadialPolylines::begin ( ) const
inline

used by range-based for

Returns
a non-iterator corresponding to the first polyline

Definition at line 1072 of file mesh_surface_intersection.h.

◆ bundles()

const_index_ptr_range GEO::MeshSurfaceIntersection::RadialPolylines::bundles ( index_t  polyline) const
inline

gets the bundles in a polyline

Parameters
[in]polylineindex of the polyline
Returns
a non-modifiable sequence of bundle indices

Definition at line 1089 of file mesh_surface_intersection.h.

◆ end()

index_as_iterator GEO::MeshSurfaceIntersection::RadialPolylines::end ( ) const
inline

used by range-based for

Returns
a non-iterator to one position past the last polyline

Definition at line 1080 of file mesh_surface_intersection.h.

◆ get_skeleton()

void GEO::MeshSurfaceIntersection::RadialPolylines::get_skeleton ( Mesh to,
bool  trim_fins = false 
)

Copies the set of polylines to a mesh.

Used for visualization purposes

Parameters
[out]toa mesh that will contain all the polygonal lines
[in]trim_finsif set, do not keep bundles that have less than three halfedges.

◆ initialize()

void GEO::MeshSurfaceIntersection::RadialPolylines::initialize ( )

Initializes the structure.

Needs to be called before any other function

◆ radial_sort()

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.


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