Example 2: C++ API Code to Retrieve Polygons
void FindPolygons( seObject current_obj ){
current_obj.getComponentIterator( iterator );
while(!iterator.isCompleted()){
iterator.getNext( child_obj );
drm_type = child_obj.getDRMClass();
if( drm_type == SE_DRM_CLS_POLYGON ){
/* process the polygon object */
/* prune search paths that won’t result in finding <Polygons> */
if( SE_ShortestAggPath[drm_type][SE_DRM_CLS_POLYGON] != -1 )
FindPolygons( child_obj ); /* recurse down the transmittal tree */