Hi,

I want to get your view
Is putting OGRLineString * var to a vector and then a setter a good idea?

... // same as tutorial
if( poGeometry != NULL && wkbFlatten(poGeometry->getGeometryType()) ==
wkbLineString )
        {
            OGRLineString *poLine = (OGRLineString *) poGeometry;
            v_faultLine.push_back(poLine);   /// std::vector <
OGRLineString * >  v_faultLine;

.           ...
        }

       this->setFaultLine (v_faultLine);
    ----
kind regards

-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Deprem  Dairesi Başkanlığı


________________________

Ahmet Temiz
Geological Eng.

Disaster and Emergency Management
of Presidency
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to