Skip to content

Struct QAccelPlot::Internal::InspectionHit

ClassList > QAccelPlot > Internal > InspectionHit

Nearest-data-point result: source index and pixel distance, or index -1.

  • #include <InspectionTypes.hpp>

Public Attributes

Type Name
double distance = {std::numeric\_limits&lt;double&gt;::infinity()}
int index = {-1}

Public Functions

Type Name
void consider (int candidate, double candidateDistance) noexcept
Keeps the closer candidate; equal distances resolve to the highest index, the data point drawn last.

Public Attributes Documentation

variable distance

double QAccelPlot::Internal::InspectionHit::distance;

variable index

int QAccelPlot::Internal::InspectionHit::index;

Public Functions Documentation

function consider

Keeps the closer candidate; equal distances resolve to the highest index, the data point drawn last.

void QAccelPlot::Internal::InspectionHit::consider (
    int candidate,
    double candidateDistance
) noexcept



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/inspection/internal/InspectionTypes.hpp