/dports/graphics/geos/geos-3.9.1/src/geom/ |
H A D | GeometryFactory.cpp | 367 newGeoms[i].reset(new LineString(*line)); in createMultiLineString() 403 return new GeometryCollection(newGeoms, this); in createGeometryCollection() 413 newGeoms[i] = fromGeoms[i]->clone(); in createGeometryCollection() 454 newGeoms[i] = fromPolys[i]->clone(); in createMultiPolygon() 517 newGeoms[i] = fromPoints[i]->clone(); in createMultiPoint() 699 if(newGeoms->empty()) { in buildGeometry() 701 delete newGeoms; in buildGeometry() 705 if (newGeoms->size() == 1) { in buildGeometry() 706 Geometry* ret = (*newGeoms)[0]; in buildGeometry() 707 delete newGeoms; in buildGeometry() [all …]
|
H A D | GeometryCollection.cpp | 55 GeometryCollection::GeometryCollection(std::vector<Geometry*>* newGeoms, const GeometryFactory* fac… in GeometryCollection() argument 58 if(newGeoms == nullptr) { in GeometryCollection() 61 if(hasNullElements(newGeoms)) { in GeometryCollection() 64 for (const auto& geom : *newGeoms) { in GeometryCollection() 67 delete newGeoms; in GeometryCollection() 73 GeometryCollection::GeometryCollection(std::vector<std::unique_ptr<Geometry>> && newGeoms, const Ge… in GeometryCollection() argument 75 geometries(std::move(newGeoms)) { in GeometryCollection()
|
/dports/graphics/geos/geos-3.9.1/include/geos/geom/ |
H A D | GeometryCollection.h | 202 GeometryCollection(std::vector<Geometry*>* newGeoms, const GeometryFactory* newFactory); 204 …GeometryCollection(std::vector<std::unique_ptr<Geometry>> && newGeoms, const GeometryFactory& newF… 208 …GeometryCollection(std::vector<std::unique_ptr<T>> && newGeoms, const GeometryFactory& newFactory)… in GeometryCollection() argument 209 GeometryCollection(toGeometryArray(std::move(newGeoms)), newFactory) {} in GeometryCollection()
|
H A D | GeometryFactory.h | 186 std::vector<Geometry*>* newGeoms) const; 190 std::vector<std::unique_ptr<T>> && newGeoms) const { in createGeometryCollection() argument 192 …GeometryCollection>(new GeometryCollection(Geometry::toGeometryArray(std::move(newGeoms)), *this)); in createGeometryCollection() 197 const std::vector<const Geometry*>& newGeoms) const;
|
/dports/graphics/qgis/qgis-3.22.3/tests/src/core/geometry/ |
H A D | testqgsgeometry.cpp | 2253 QVector<QgsGeometry> newGeoms; in splitGeometry() local 2267 QVERIFY( newGeoms.isEmpty() ); in splitGeometry() 2272 newGeoms.clear(); in splitGeometry() 2280 newGeoms.clear(); in splitGeometry() 2291 newGeoms.clear(); in splitGeometry() 2303 newGeoms.clear(); in splitGeometry() 2314 newGeoms.clear(); in splitGeometry() 2327 newGeoms.clear(); in splitGeometry() 2336 newGeoms.clear(); in splitGeometry() 2346 newGeoms.clear(); in splitGeometry() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/tests/src/providers/ |
H A D | testqgsmssqlprovider.cpp | 167 QStringList newGeoms = mSomeDataWktGeom; in projectTransaction() local 168 newGeoms << QStringLiteral( "Point (-71 67)" ); in projectTransaction() 188 QVERIFY( geoms == newGeoms ); in projectTransaction()
|
/dports/cad/sumo/sumo-1.2.0/src/netedit/ |
H A D | GNENet.cpp | 758 std::pair<PositionVector, PositionVector> newGeoms = oldGeom.splitAt(linePos); in splitEdge() local 801 newGeoms.first.pop_back(); in splitEdge() 802 newGeoms.first.erase(newGeoms.first.begin()); in splitEdge() 804 edge->setAttribute(SUMO_ATTR_SHAPE, toString(newGeoms.first), undoList); in splitEdge() 807 newGeoms.second.pop_back(); in splitEdge() 808 newGeoms.second.erase(newGeoms.second.begin()); in splitEdge() 809 secondPart->setAttribute(SUMO_ATTR_SHAPE, toString(newGeoms.second), undoList); in splitEdge()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/src/core/geometry/ |
H A D | qgsgeos.cpp | 2141 GEOSGeometry **newGeoms = new GEOSGeometry*[numGeoms]; in reshapeGeometry() local 2152 newGeoms[i] = currentReshapeGeometry.release(); in reshapeGeometry() 2157 …newGeoms[i] = GEOSGeom_clone_r( geosinit()->ctxt, GEOSGetGeometryN_r( geosinit()->ctxt, mGeos.get(… in reshapeGeometry() 2164 …reset( GEOSGeom_createCollection_r( geosinit()->ctxt, GEOS_MULTILINESTRING, newGeoms, numGeoms ) ); in reshapeGeometry() 2168 …om.reset( GEOSGeom_createCollection_r( geosinit()->ctxt, GEOS_MULTIPOLYGON, newGeoms, numGeoms ) ); in reshapeGeometry() 2171 delete[] newGeoms; in reshapeGeometry()
|
H A D | qgsgeometry.cpp | 847 QVector<QgsGeometry > newGeoms; in splitGeometry() local 863 …QgsGeometryEngine::EngineOperationResult result = geos.splitGeometry( splitLineString, newGeoms, t… in splitGeometry() 868 *this = newGeoms.takeAt( 0 ); in splitGeometry() 869 newGeometries = newGeoms; in splitGeometry()
|
/dports/graphics/qgis/qgis-3.22.3/src/core/geometry/ |
H A D | qgsgeos.cpp | 2435 GEOSGeometry **newGeoms = new GEOSGeometry*[numGeoms]; in reshapeGeometry() local 2446 newGeoms[i] = currentReshapeGeometry.release(); in reshapeGeometry() 2451 …newGeoms[i] = GEOSGeom_clone_r( geosinit()->ctxt, GEOSGetGeometryN_r( geosinit()->ctxt, mGeos.get(… in reshapeGeometry() 2458 …reset( GEOSGeom_createCollection_r( geosinit()->ctxt, GEOS_MULTILINESTRING, newGeoms, numGeoms ) ); in reshapeGeometry() 2462 …om.reset( GEOSGeom_createCollection_r( geosinit()->ctxt, GEOS_MULTIPOLYGON, newGeoms, numGeoms ) ); in reshapeGeometry() 2465 delete[] newGeoms; in reshapeGeometry()
|
H A D | qgsgeometry.cpp | 936 QVector<QgsGeometry > newGeoms; in splitGeometry() local 952 …QgsGeometryEngine::EngineOperationResult result = geos.splitGeometry( splitLineString, newGeoms, t… in splitGeometry() 957 *this = newGeoms.takeAt( 0 ); in splitGeometry() 958 newGeometries = newGeoms; in splitGeometry()
|
/dports/graphics/qgis-ltr/qgis-3.16.16/tests/src/core/ |
H A D | testqgsgeometry.cpp | 17855 QVector<QgsGeometry> newGeoms; in splitGeometry() local 17859 QVERIFY( newGeoms.isEmpty() ); in splitGeometry() 17864 newGeoms.clear(); in splitGeometry() 17872 newGeoms.clear(); in splitGeometry() 17883 newGeoms.clear(); in splitGeometry() 17895 newGeoms.clear(); in splitGeometry() 17906 newGeoms.clear(); in splitGeometry() 17919 newGeoms.clear(); in splitGeometry() 17928 newGeoms.clear(); in splitGeometry() 17938 newGeoms.clear(); in splitGeometry() [all …]
|