File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ mixedInfo:
126
126
- LinkList
127
127
extraCtors :
128
128
- Obj
129
+ - Geospatial
129
130
130
131
enums :
131
132
SchemaMode :
@@ -362,6 +363,28 @@ records:
362
363
type : std::string
363
364
default : ' '
364
365
366
+ GeoPoint :
367
+ fields :
368
+ longitude : double
369
+ latitude : double
370
+ altitude :
371
+ type : double
372
+ default : std::numeric_limits<double>::quiet_NaN()
373
+
374
+ GeoCircle :
375
+ fields :
376
+ radius_radians : double
377
+ center : GeoPoint
378
+
379
+ GeoBox :
380
+ fields :
381
+ lo : GeoPoint
382
+ hi : GeoPoint
383
+
384
+ GeoPolygon :
385
+ fields :
386
+ points : std::vector<std::vector<GeoPoint>>
387
+
365
388
RealmConfig :
366
389
fields :
367
390
path : std::string
@@ -752,6 +775,12 @@ classes:
752
775
get_seconds : int64_t
753
776
get_nanoseconds : int32_t
754
777
778
+ Geospatial :
779
+ constructors :
780
+ make_from_circle : ' (circle: GeoCircle)'
781
+ make_from_box : ' (box: GeoBox)'
782
+ make_from_polygon : ' (polygon: GeoPolygon)'
783
+
755
784
ObjLink :
756
785
properties :
757
786
is_null : bool
You can’t perform that action at this time.
0 commit comments