[gdal-dev] Pushing OGRLineString * var to a vector problematic ??
Ahmet Temiz
ahmettemiz88 at gmail.com
Fri Feb 12 23:11:42 PST 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210213/cf758e2c/attachment.html>
More information about the gdal-dev
mailing list