Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geometric context precision attribute #176

Open
claimred opened this issue Apr 15, 2020 · 0 comments
Open

Geometric context precision attribute #176

claimred opened this issue Apr 15, 2020 · 0 comments

Comments

@claimred
Copy link

  • According to IFC implementation guide about Precision attribute in IfcGeometricRepresentationContext:

Value of the model precision for geometric models. It is a double value (REAL), typically in 1E-5 to 1E-8 range, that indicates the tolerance under which two given points are still assumed to be identical.

  • However it seems impossible to use values lower than 1e-5 due to appendRealWithoutTrailingZeros function behaviour. It finds a '00000' substring and deletes the whole value making it 0.

https://github.com/ifcquery/ifcplusplus/blob/master/IfcPlusPlus/src/ifcpp/writer/WriterUtil.cpp#L81

Is that a bug?

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

No branches or pull requests

1 participant