OGRGeometry *OGRPoint::clone() const { OGRPoint *poNewPoint = new OGRPoint( x, y, z ); poNewPoint->assignSpatialReference( getSpatialReference() ); poNewPoint->setCoordinateDimension( nCoordDimension ); return poNewPoint; }
OGRGeometry *OGRPoint::clone() const { OGRPoint *poNewPoint = new OGRPoint( x, y, z ); poNewPoint->assignSpatialReference( getSpatialReference() ); poNewPoint->setCoordinateDimension( nCoordDimension ); return poNewPoint; }