Logo Search packages:      
Sourcecode: madlib version File versions  Download package

pPGList MAd::M_geomFeature ( pMesh  pm,
int  id 
)

Returns the number of geometric entities associated to the mesh with tag id.

Warning:
id's are only guaranteed to be unique per type of geometric feature

Definition at line 3119 of file MeshDataBaseInterface.cc.

  {
    pPGList pl = PGList_new();
    for (std::multimap<int, pGEntity>::iterator it = pm->geomFeatures_Tags.lower_bound(id) ;
         it != pm->geomFeatures_Tags.upper_bound(id) ; ++it)
      PGList_append(pl,it->second);
    return pl;  
  }


Generated by  Doxygen 1.6.0   Back to index