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

Transform VTK files in accordance with their format and floating point precision #1253

Merged
merged 2 commits into from
Oct 23, 2024

Commits on Oct 16, 2024

  1. ENH: Transform binary VTK input file to binary output file

    If the VTK input file is a binary file, the output file should also be a binary file.
    
    Otherwise, the output file is still ASCII, as before.
    
    Inspired by pull request #943 "ENH: Support for binary point file (.bin) reading and writing", ChristophKirst, Aug 2, 2023.
    N-Dekker committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    90c64c5 View commit details
    Browse the repository at this point in the history
  2. ENH: Transform float VTK input file to float output file

    If the VTK input file has 32-bit `float` as data type, the output file should also have 32-bit `float` data.
    
    Otherwise, the output file still has 64-bit `double` data, as before.
    N-Dekker committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    15bcdc3 View commit details
    Browse the repository at this point in the history