CVB++ 14.0
SearchResult Class Referencefinal

Single result of a search operation. More...

#include <cvb/dnc/search_result.hpp>

Public Member Functions

Point3D< double > Position () const noexcept
 Translation vector of objects origin from point cloud origin. More...
 
Vector3D< double > RotationVector () const noexcept
 Normalized rotation axis vector of objects orientation. More...
 
Angle Theta () const noexcept
 Rotation angle of objects orientation. More...
 
double Score () const noexcept
 Detection confidence value (0..1). More...
 
bool operator== (const SearchResult &searchResult) const noexcept
 Compares to an other search result. More...
 
bool operator!= (const SearchResult &searchResult) const noexcept
 Compares to an other search result. More...
 

Detailed Description

Single result of a search operation.

Member Function Documentation

◆ operator!=()

bool operator!= ( const SearchResult searchResult) const
inlinenoexcept

Compares to an other search result.

Parameters
[in]searchResultOther search result.
Returns
True if not equal, otherwise false.
Exceptions
Doesnot throw any exception.

◆ operator==()

bool operator== ( const SearchResult searchResult) const
inlinenoexcept

Compares to an other search result.

Parameters
[in]searchResultOther search result.
Returns
True if equal, otherwise false.
Exceptions
Doesnot throw any exception.

◆ Position()

Point3D< double > Position ( ) const
inlinenoexcept

Translation vector of objects origin from point cloud origin.

Returns
The position.
Exceptions
Doesnot throw any exception.

◆ RotationVector()

Vector3D< double > RotationVector ( ) const
inlinenoexcept

Normalized rotation axis vector of objects orientation.

Returns
The object orientation.
Exceptions
Doesnot throw any exception.

◆ Score()

double Score ( ) const
inlinenoexcept

Detection confidence value (0..1).

Returns
The score.
Exceptions
Doesnot throw any exception.

◆ Theta()

Angle Theta ( ) const
inlinenoexcept

Rotation angle of objects orientation.

Returns
The rotation angle.
Exceptions
Doesnot throw any exception.