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

Add PointData::convertInternalData(elementTypeSpecifier) #491

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 8, 2024

  1. Add PointData::convertInternalData(elementTypeSpecifier)

    Allows converting the internal data from one data type to another.
    
    Jeroen Eggermont suggested that it could be useful to convert data to a smaller data type, if possible. Example:
    
        // Converts internal data to std::vector<std::int8_t>
        pointData->convertInternalData(PointData::ElementTypeSpecifier::int8);
    
    Which is equivalent to:
    
        pointData->convertInternalData<std::int8_t>();
    N-Dekker committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    ffc605f View commit details
    Browse the repository at this point in the history