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

#include <MeshSet.hpp>

Public Member Functions

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

Public Attributes

int mDim

Detailed Description

functor: test if handle is not of dimension

Definition at line 292 of file MeshSet.hpp.

Constructor & Destructor Documentation

◆ not_dim_test()

moab::MeshSet::not_dim_test::not_dim_test ( int  dimension)

Definition at line 294 of file MeshSet.hpp.

294 : mDim( dimension ) {}

Member Function Documentation

◆ operator()()

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

Definition at line 295 of file MeshSet.hpp.

296  {
297  return DIM_FROM_HANDLE( handle ) != mDim;
298  }

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

Member Data Documentation

◆ mDim

int moab::MeshSet::not_dim_test::mDim

Definition at line 299 of file MeshSet.hpp.

Referenced by operator()().

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