Skip to content

Inconsistency in calcCoordsFromCurrentViewMask in Sensor.cpp #35

@kuehnma

Description

@kuehnma

The function calcCoordsFromCurrentView returns the number of model points multiplied with 2.
In comparison calcCoordsFromCurrentViewMask returns the number of model points NOT multiplied with 2.
This might lead to an inconsistency in using both functions as equivalent behavior is expected.

Probably the error is located in Sensor.cpp in calcCoordsFromCurrentView in line 94. The counter for valid points is incremented for every point twice. In comparison calcCoordsFromCurrentViewMask is incremented for every point only once.

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