Skip to content

Embed each concrete class in its leaf and type geometry arguments as Geo - #38

Merged
estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:io/geometry-arguments
Nov 1, 2026
Merged

estebanzimanyi merged 1 commit into
MobilityDB:mainfrom
estebanzimanyi:io/geometry-arguments

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

A concrete class embeds its leaf, as MEOS.NET's object
layer makes the leaf its base: TGeomPointSeq embeds TGeomPoint and
carries its methods, TPoint.AtGeom among them, where it embedded a bare
handle and carried none.

Witness: with no parent, a concrete class sat at depth 0, so
TRGeometrySeqSet, whose catalog C type reads GSERIALIZED, was the
shallowest class of that type and wrapped every geometry: 186 geometry
arguments of the generated layer, the gs of TGeo.AtGeom among them,
read *TRGeometrySeqSet; each now reads *Geo, and none reads
*TRGeometrySeqSet.

Measured: the 129 root examples pass under TZ=UTC, a temporal point
sequence restricted to a polygon through the AtGeom it inherits, as the
sequence set MEOS answers; the functions, types and root packages build
with no go vet finding, and the parity tests pass.

A concrete <leaf><suffix> class embeds its leaf, as MEOS.NET's object
layer makes the leaf its base: TGeomPointSeq embeds TGeomPoint and
carries its methods, TPoint.AtGeom among them, where it embedded a bare
handle and carried none.

Witness: with no parent, a concrete class sat at depth 0, so
TRGeometrySeqSet, whose catalog C type reads GSERIALIZED, was the
shallowest class of that type and wrapped every geometry: 186 geometry
arguments of the generated layer, the gs of TGeo.AtGeom among them,
read *TRGeometrySeqSet; each now reads *Geo, and none reads
*TRGeometrySeqSet.

Measured: the 129 root examples pass under TZ=UTC, a temporal point
sequence restricted to a polygon through the AtGeom it inherits, as the
sequence set MEOS answers; the functions, types and root packages build
with no go vet finding, and the parity tests pass.
@estebanzimanyi
estebanzimanyi merged commit 32b5143 into MobilityDB:main Nov 1, 2026
2 checks passed
@estebanzimanyi
estebanzimanyi deleted the io/geometry-arguments branch November 1, 2026 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant