How to map OCC geometry face/edge with mesh element face, nodes

In the case of generating mesh from OCC geometry, it is very useful to have the information of element faces on the OCC geometry face, or nodes on the geometry edge for boundary condition definition. Could you please let me know, from code level, how to get associated element face/edges information on the given geometry face/edge after calling Ng_GenerateVolumeMesh.