MCPcopy Create free account
hub / github.com/Kitware/VTK / ComputePointPosition

Method ComputePointPosition

Views/Infovis/vtkParallelCoordinatesRepresentation.cxx:1644–1657  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1642
1643//------------------------------------------------------------------------------
1644int vtkParallelCoordinatesRepresentation::ComputePointPosition(double* p)
1645{
1646 if (p[0] < this->Xs[0])
1647 return -1;
1648
1649 for (int i = 1; i < this->NumberOfAxes; i++)
1650 {
1651 if (p[0] < this->Xs[i])
1652 {
1653 return i - 1;
1654 }
1655 }
1656 return -1;
1657}
1658
1659//------------------------------------------------------------------------------
1660int vtkParallelCoordinatesRepresentation::ComputeLinePosition(double* p1, double* p2)

Callers 3

UpdateHoverHighlightMethod · 0.95
LassoSelectMethod · 0.95
LassoSelectInternalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected