CVB++ 14.1
EdgeResult Class Reference

Edge search result More...

#include <cvb/foundation/edge.hpp>

Public Member Functions

double X () const noexcept
 X-position relative to the last line processed. More...
 
double Y () const noexcept
 Y-position relative to the last line processed. More...
 
double Quality () const noexcept
 Quality of detection, depending on the method used. More...
 
EdgeType Type () const noexcept
 Type of the edge. More...
 

Static Public Member Functions

static EdgeResult Nothing () noexcept
 The edge result returned when nothing has been found. More...
 

Detailed Description

Edge search result

Member Function Documentation

◆ Nothing()

static EdgeResult Nothing ( )
inlinestaticnoexcept

The edge result returned when nothing has been found.

Returns
Invalid edge result.
Exceptions
Doesnot throw any exception.

◆ Quality()

double Quality ( ) const
inlinenoexcept

Quality of detection, depending on the method used.

Returns
Edge result quality.
Exceptions
Doesnot throw any exception.

◆ Type()

EdgeType Type ( ) const
inlinenoexcept

Type of the edge.

Returns
Edge type.
Exceptions
Doesnot throw any exception.

◆ X()

double X ( ) const
inlinenoexcept

X-position relative to the last line processed.

Returns
Edge result x-position.
Exceptions
Doesnot throw any exception.

◆ Y()

double Y ( ) const
inlinenoexcept

Y-position relative to the last line processed.

Returns
Edge result y-position.
Exceptions
Doesnot throw any exception.