File tree Expand file tree Collapse file tree 15 files changed +181
-0
lines changed Expand file tree Collapse file tree 15 files changed +181
-0
lines changed Original file line number Diff line number Diff line change 5
5
🐛 ** Bug fixes**
6
6
7
7
- The error mode of the PDO connection in ` PDOEngine ` could be left modified when an exception occurs
8
+ - Uninitialized proxies would be broken when calling ` with*() ` methods
8
9
9
10
## [ 0.11.4] ( https://github.com/brick/geo/releases/tag/0.11.4 ) - 2025-03-03
10
11
Original file line number Diff line number Diff line change @@ -217,6 +217,15 @@ public function getIterator(): \ArrayIterator
217
217
return $ this ->proxyGeometry ->getIterator ();
218
218
}
219
219
220
+ public function withAddedPoints (\Brick \Geo \Point ...$ points ): \Brick \Geo \CircularString
221
+ {
222
+ if ($ this ->proxyGeometry === null ) {
223
+ $ this ->load ();
224
+ }
225
+
226
+ return $ this ->proxyGeometry ->withAddedPoints ($ points );
227
+ }
228
+
220
229
public function coordinateDimension (): int
221
230
{
222
231
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -217,6 +217,15 @@ public function getIterator(): \ArrayIterator
217
217
return $ this ->proxyGeometry ->getIterator ();
218
218
}
219
219
220
+ public function withAddedCurves (\Brick \Geo \Curve ...$ curves ): \Brick \Geo \CompoundCurve
221
+ {
222
+ if ($ this ->proxyGeometry === null ) {
223
+ $ this ->load ();
224
+ }
225
+
226
+ return $ this ->proxyGeometry ->withAddedCurves ($ curves );
227
+ }
228
+
220
229
public function coordinateDimension (): int
221
230
{
222
231
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -208,6 +208,33 @@ public function getIterator(): \ArrayIterator
208
208
return $ this ->proxyGeometry ->getIterator ();
209
209
}
210
210
211
+ public function withExteriorRing (\Brick \Geo \Curve $ exteriorRing ): \Brick \Geo \CurvePolygon
212
+ {
213
+ if ($ this ->proxyGeometry === null ) {
214
+ $ this ->load ();
215
+ }
216
+
217
+ return $ this ->proxyGeometry ->withExteriorRing ($ exteriorRing );
218
+ }
219
+
220
+ public function withInteriorRings (\Brick \Geo \Curve ...$ interiorRings ): \Brick \Geo \CurvePolygon
221
+ {
222
+ if ($ this ->proxyGeometry === null ) {
223
+ $ this ->load ();
224
+ }
225
+
226
+ return $ this ->proxyGeometry ->withInteriorRings ($ interiorRings );
227
+ }
228
+
229
+ public function withAddedInteriorRings (\Brick \Geo \Curve ...$ interiorRings ): \Brick \Geo \CurvePolygon
230
+ {
231
+ if ($ this ->proxyGeometry === null ) {
232
+ $ this ->load ();
233
+ }
234
+
235
+ return $ this ->proxyGeometry ->withAddedInteriorRings ($ interiorRings );
236
+ }
237
+
211
238
public function coordinateDimension (): int
212
239
{
213
240
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ public function getIterator(): \ArrayIterator
208
208
return $ this ->proxyGeometry ->getIterator ();
209
209
}
210
210
211
+ public function withAddedGeometries (\Brick \Geo \Geometry ...$ geometries ): \Brick \Geo \GeometryCollection
212
+ {
213
+ if ($ this ->proxyGeometry === null ) {
214
+ $ this ->load ();
215
+ }
216
+
217
+ return $ this ->proxyGeometry ->withAddedGeometries ($ geometries );
218
+ }
219
+
211
220
public function coordinateDimension (): int
212
221
{
213
222
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -217,6 +217,15 @@ public function getIterator(): \ArrayIterator
217
217
return $ this ->proxyGeometry ->getIterator ();
218
218
}
219
219
220
+ public function withAddedPoints (\Brick \Geo \Point ...$ points ): \Brick \Geo \LineString
221
+ {
222
+ if ($ this ->proxyGeometry === null ) {
223
+ $ this ->load ();
224
+ }
225
+
226
+ return $ this ->proxyGeometry ->withAddedPoints ($ points );
227
+ }
228
+
220
229
public function coordinateDimension (): int
221
230
{
222
231
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ public function getIterator(): \ArrayIterator
208
208
return $ this ->proxyGeometry ->getIterator ();
209
209
}
210
210
211
+ public function withAddedGeometries (\Brick \Geo \Geometry ...$ geometries ): \Brick \Geo \GeometryCollection
212
+ {
213
+ if ($ this ->proxyGeometry === null ) {
214
+ $ this ->load ();
215
+ }
216
+
217
+ return $ this ->proxyGeometry ->withAddedGeometries ($ geometries );
218
+ }
219
+
211
220
public function coordinateDimension (): int
212
221
{
213
222
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ public function getIterator(): \ArrayIterator
208
208
return $ this ->proxyGeometry ->getIterator ();
209
209
}
210
210
211
+ public function withAddedGeometries (\Brick \Geo \Geometry ...$ geometries ): \Brick \Geo \GeometryCollection
212
+ {
213
+ if ($ this ->proxyGeometry === null ) {
214
+ $ this ->load ();
215
+ }
216
+
217
+ return $ this ->proxyGeometry ->withAddedGeometries ($ geometries );
218
+ }
219
+
211
220
public function coordinateDimension (): int
212
221
{
213
222
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ public function getIterator(): \ArrayIterator
208
208
return $ this ->proxyGeometry ->getIterator ();
209
209
}
210
210
211
+ public function withAddedGeometries (\Brick \Geo \Geometry ...$ geometries ): \Brick \Geo \GeometryCollection
212
+ {
213
+ if ($ this ->proxyGeometry === null ) {
214
+ $ this ->load ();
215
+ }
216
+
217
+ return $ this ->proxyGeometry ->withAddedGeometries ($ geometries );
218
+ }
219
+
211
220
public function coordinateDimension (): int
212
221
{
213
222
if ($ this ->proxyGeometry === null ) {
Original file line number Diff line number Diff line change @@ -208,6 +208,15 @@ public function getIterator(): \ArrayIterator
208
208
return $ this ->proxyGeometry ->getIterator ();
209
209
}
210
210
211
+ public function withAddedGeometries (\Brick \Geo \Geometry ...$ geometries ): \Brick \Geo \GeometryCollection
212
+ {
213
+ if ($ this ->proxyGeometry === null ) {
214
+ $ this ->load ();
215
+ }
216
+
217
+ return $ this ->proxyGeometry ->withAddedGeometries ($ geometries );
218
+ }
219
+
211
220
public function coordinateDimension (): int
212
221
{
213
222
if ($ this ->proxyGeometry === null ) {
You can’t perform that action at this time.
0 commit comments