#include <DistanceSolution.h>
Access to distance solutions. Driven by need to accomodate intersections with a cylinder into common interface.
- Author
- Sarka.nosp@m..Tod.nosp@m.orova.nosp@m.@cer.nosp@m.n.ch
Definition at line 24 of file DistanceSolution.h.
◆ DistanceSolution() [1/4]
Trk::DistanceSolution::DistanceSolution |
( |
| ) |
|
|
default |
◆ DistanceSolution() [2/4]
◆ DistanceSolution() [3/4]
◆ ~DistanceSolution()
Trk::DistanceSolution::~DistanceSolution |
( |
| ) |
|
|
default |
◆ DistanceSolution() [4/4]
Trk::DistanceSolution::DistanceSolution |
( |
int |
num, |
|
|
double |
current = 0. , |
|
|
bool |
signedDist = false , |
|
|
double |
first = 0. , |
|
|
double |
second = 0. |
|
) |
| |
◆ absClosest()
double Trk::DistanceSolution::absClosest |
( |
| ) |
const |
Absolute Distance to closest solution.
◆ currentDistance()
double Trk::DistanceSolution::currentDistance |
( |
bool |
signedDist = false | ) |
const |
Current distance to surface (spatial), signed (along/opposite to surface normal) if input argument true (absolute value by default)
◆ first()
double Trk::DistanceSolution::first |
( |
| ) |
const |
Distance to first intersection solution along direction.
◆ numberOfSolutions()
int Trk::DistanceSolution::numberOfSolutions |
( |
| ) |
const |
Number of intersection solutions.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ second()
double Trk::DistanceSolution::second |
( |
| ) |
const |
Distance to second intersection solution along direction (for a cylinder surface)
◆ signedDistance()
bool Trk::DistanceSolution::signedDistance |
( |
| ) |
const |
This method indicates availability of signed current distance (false for Perigee and StraighLineSurface)
◆ toPointOfClosestApproach()
double Trk::DistanceSolution::toPointOfClosestApproach |
( |
| ) |
const |
Distance to point of closest approach along direction.
◆ m_current
double Trk::DistanceSolution::m_current = 0 |
|
private |
◆ m_first
double Trk::DistanceSolution::m_first = 0 |
|
private |
◆ m_num
int Trk::DistanceSolution::m_num = 0 |
|
private |
◆ m_second
double Trk::DistanceSolution::m_second = 0 |
|
private |
◆ m_signedDist
bool Trk::DistanceSolution::m_signedDist = false |
|
private |
The documentation for this class was generated from the following file: