I see the current examples have varying numeric precision:
It would be good to establish a general number precision for IFCX. To start with, how about 6 digits after the comma? For length, that's 1 millionth of a meter - micrometre, which is a 1/50th of a human hair diameter. More than needed for AEC purposes, but enough to not have issues with rounded object geometry or conversion loss. Because we agreed to use the metric system for length (and SI for most of the quantity kinds), even if the project is in metres, the precision would remain.
Less than the agreed precision should also be allowed, for example, full numbers or single digits:
Alternatively, we could establish separate rounding per quantity kinds, for example, four digits for length (0.0001 m - thickness of a coarse hair), but seven digits for angles (for example, geographic latitude).
TODO:
I see the current examples have varying numeric precision:
https://github.com/buildingSMART/IFC5-development/blob/828ee54fcfa56db3c2ca9c55d1e505f5532e3dcd/examples/Hello%20Wall/hello-wall.ifcx#L1457C15-L1457C23
https://github.com/buildingSMART/IFC5-development/blob/828ee54fcfa56db3c2ca9c55d1e505f5532e3dcd/examples/Hello%20Wall/hello-wall.ifcx#L1185C12-L1185C24
IFC5-development/examples/Hello Wall/hello-wall.ifcx
Line 1458 in 828ee54
It would be good to establish a general number precision for IFCX. To start with, how about 6 digits after the comma? For length, that's 1 millionth of a meter - micrometre, which is a 1/50th of a human hair diameter. More than needed for AEC purposes, but enough to not have issues with rounded object geometry or conversion loss. Because we agreed to use the metric system for length (and SI for most of the quantity kinds), even if the project is in metres, the precision would remain.
Less than the agreed precision should also be allowed, for example, full numbers or single digits:
IFC5-development/examples/Hello Wall/hello-wall.ifcx
Line 1056 in 828ee54
Alternatively, we could establish separate rounding per quantity kinds, for example, four digits for length (0.0001 m - thickness of a coarse hair), but seven digits for angles (for example, geographic latitude).
TODO: