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

PointsAlgo::mergePoints loses interpretation #1315

Open
ericmehl opened this issue Nov 17, 2022 · 0 comments
Open

PointsAlgo::mergePoints loses interpretation #1315

ericmehl opened this issue Nov 17, 2022 · 0 comments

Comments

@ericmehl
Copy link
Collaborator

Version: Cortex 10.3.0.0-release
3rd-party modules: None

Description

It looks like PointsAlgo::mergePoints does not copy the geometric interpretation when merging point primitives.

Steps to Reproduce

  1. Create a few PointsPrimitive objects with vertex data that has an interpretation other than Numeric.
  2. Merge them using mergePoints()
  3. Check the output interpretation.
  4. The interpretation reverts to Numeric.

I think it could be fixed by setting the interpretation after this line?

container = new T();

Though there may also be some more to do or at least documentation about what happens for conflicting interpretations.

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