tudelft3d / val3dity

Validation of 3D primitives according to the international standard ISO19107
GNU General Public License v3.0
93 stars 24 forks source link

IndoorGML Geometry2D #169

Open hlg opened 1 year ago

hlg commented 1 year ago

IndoorGML cell spaces can also be represented by 2D geometry instead of 3D geometry, hence a surface instead of a solid. This is apparently mentioned in a comment, but not implemented.

https://github.com/tudelft3d/val3dity/blob/7e3c679646879d4b578d84f6cb10298db3f30ca3/src/input.cpp#L755-L774

Would be great to be able to validate these as well, even though there is less room for errors with 2D geometry. Here are adjusted test files for reference: igml_v1_2D.gml.txt, igml_v2_2D.gml.txt

hugoledoux commented 1 year ago

Since val3dity is for 3D validation, I indeed didn't work on that.

Maybe I'll implement it, it shouldn't be too difficult indeed (GEOS is already used internally).