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

IO of OpenMesh files - use doubles instead of floats #8612

Merged
merged 3 commits into from
Nov 20, 2024

Conversation

janetournois
Copy link
Member

Summary of Changes

The default OpenMesh point type is made of floats. This PR changes the traits we use in CGAL to you doubles and ensure that reading an off/writing an om/reading om gives the same result back.
This PR completes #8427

Release Management

  • Affected package(s): BGL, Demo
  • License and copyright ownership: unchanged

Co-authored-by: Sebastien Loriot <[email protected]>
@sloriot
Copy link
Member

sloriot commented Nov 20, 2024

Successfully tested in CGAL-6.1-Ic-22

@sloriot sloriot merged commit 0957261 into CGAL:master Nov 20, 2024
9 checks passed
@sloriot sloriot deleted the BGL-IO_OM_precision-jtournois branch November 20, 2024 07:48
@MaelRL MaelRL added the CGAL I/O label Dec 4, 2024
sloriot added a commit that referenced this pull request Dec 4, 2024
## Summary of Changes

In OpenMesh, the outgoing halfedge of a boundary vertex must be the
boundary halfedge.
This PR fixes this orientation issue before writing the file, inside
`write_OM()`

This PR completes #8427 and #8612 

## Release Management

* Affected package(s): BGL
* License and copyright ownership: unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants