Developer Documentation

Public Types | Public Member Functions | Private Attributes | List of all members
OpenMesh::EntityRange< RangeTraitT > Class Template Reference

Generic class for vertex/halfedge/edge/face ranges. More...

`#include <OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Mesh/PolyConnectivity_inline_impl.hh>`

Inheritance diagram for OpenMesh::EntityRange< RangeTraitT >:

## Public Types
typedef RangeTraitT::ITER_TYPE | iterator
typedef RangeTraitT::ITER_TYPE | const_iterator

## Public Member Functions
| EntityRange (typename RangeTraitT::CONTAINER_TYPE &container)
RangeTraitT::ITER_TYPE | begin () const
RangeTraitT::ITER_TYPE | end () const
Public Member Functions inherited from OpenMesh::SmartRangeT< EntityRange< RangeTraitT >, RangeTraitT::ITER_TYPE::SmartHandle >
auto | sum (Functor &&f) -> typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type
| Computes the sum of elements. More...
auto | avg (Functor &&f) -> typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type
| Computes the average of elements. More...
auto | any_of (Functor &&f) -> bool
| Check if any element fulfils condition. More...
auto | all_of (Functor &&f) -> bool
| Check if all elements fulfil condition. More...
auto | to_array (Functor &&f={}) -> std::array< typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type, n >
| Convert range to array. More...
auto | to_vector (Functor &&f={}) -> std::vector< typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type >
| Convert range to vector. More...
auto | to_set (Functor &&f={}) -> std::set< typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type >
| Convert range to set. More...
auto | first (Functor &&f={}) -> RangeTraitT::ITER_TYPE::SmartHandle
| Get the first element that fulfills a condition. More...
auto | min (Functor &&f) -> typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type
| Compute minimum. More...
auto | max (Functor &&f) -> typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type
| Compute maximum. More...
auto | minmax (Functor &&f) -> std::pair< typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type, typename std::decay< decltype(f(std::declval< RangeTraitT::ITER_TYPE::SmartHandle >()))>::type >
| Computes minimum and maximum. More...

## Private Attributes
RangeTraitT::CONTAINER_TYPE & | container_

## Detailed Description

### template<typename RangeTraitT>
class OpenMesh::EntityRange< RangeTraitT >

Generic class for vertex/halfedge/edge/face ranges.

Definition at line 69 of file PolyConnectivity.hh.

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

- OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Mesh/PolyConnectivity.hh
- OpenFlipper/libs_required/OpenMesh/src/OpenMesh/Core/Mesh/PolyConnectivity_inline_impl.hh