ViennaGrid - The Vienna Grid Library  2.1.0
Namespaces | Functions
viennagrid/algorithm/extract_seed_points.hpp File Reference

Extraction of seed points per segment of a mesh. More...

#include "viennagrid/algorithm/centroid.hpp"
#include "viennagrid/mesh/neighbor_iteration.hpp"

Go to the source code of this file.

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces.


namespace  viennagrid::detail
 

Namespace for implementation details. Not intended to be used directly by a library user.


Functions

template<typename MeshSegmentT , typename SeedPointContainerT >
void extract_seed_points (MeshSegmentT const &mesh, SeedPointContainerT &seed_points)
 Extracts seed points of a mesh. For each connected part of the mesh, a point which is inside this part is added to the seed_points container.
template<typename MeshT , typename SegmentationT , typename SeedPointContainerT >
void extract_seed_points (MeshT const &mesh, SegmentationT const &segmentation, SeedPointContainerT &seed_points)
 Extracts seed points of a mesh with segmentation. For each segment, seed points are extracted.
template<typename MeshT , typename UnvisitedCellMapT >
void neighbor_mark (MeshT const &mesh, UnvisitedCellMapT &unvisitied_cells)
 For internal use only.

Detailed Description

Extraction of seed points per segment of a mesh.