Skip to content

PointsAlgo::mergePoints loses interpretation #1315

@ericmehl

Description

@ericmehl

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions