Ignore:
Timestamp:
08/08/11 11:57:35 (14 years ago)
Author:
jschierm
Message:

KML objects: added FindPolygons and FindLineStrings methods.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/KML/KML_Container.cpp

    r8464 r9201  
    157157/*}}}*/
    158158
     159/*FUNCTION KML_Container::FindPolygons {{{1*/
     160void  KML_Container::FindPolygons(DataSet* polygons){
     161
     162        int   i;
     163
     164/*  loop over the features for the container  */
     165
     166        for (i=0; i<feature->Size(); i++)
     167                ((KML_Feature *)feature->GetObjectByOffset(i))->FindPolygons(polygons);
     168
     169        return;
     170}
     171/*}}}*/
     172
     173/*FUNCTION KML_Container::FindLineStrings {{{1*/
     174void  KML_Container::FindLineStrings(DataSet* linestrings){
     175
     176        int   i;
     177
     178/*  loop over the features for the container  */
     179
     180        for (i=0; i<feature->Size(); i++)
     181                ((KML_Feature *)feature->GetObjectByOffset(i))->FindLineStrings(linestrings);
     182
     183        return;
     184}
     185/*}}}*/
     186
Note: See TracChangeset for help on using the changeset viewer.