Mesh Oriented datABase  (version 5.5.0)
An array-based unstructured mesh library
moab::MeshSet::dim_test Struct Reference

#include <MeshSet.hpp>

Public Member Functions

 dim_test (int dimension)
bool operator() (EntityHandle handle) const

Public Attributes

int mDim

Detailed Description

functor: test if handle is of dimension

Definition at line 303 of file MeshSet.hpp.

Constructor & Destructor Documentation

◆ dim_test()

moab::MeshSet::dim_test::dim_test ( int  dimension)

Definition at line 305 of file MeshSet.hpp.

305 : mDim( dimension ) {}

Member Function Documentation

◆ operator()()

bool moab::MeshSet::dim_test::operator() ( EntityHandle  handle) const

Definition at line 306 of file MeshSet.hpp.

307  {
308  return DIM_FROM_HANDLE( handle ) == mDim;
309  }

References moab::MeshSet::DIM_FROM_HANDLE(), and mDim.

Member Data Documentation

◆ mDim

int moab::MeshSet::dim_test::mDim

Definition at line 310 of file MeshSet.hpp.

Referenced by operator()().

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