CVB.Net 14.0
EdgeResult Struct Reference

Edge Search result More...

Inherits IPosition, and IQualified.

Public Member Functions

override bool Equals (object obj)
 Tests whether obj is an EdgeResult structure with the same content as this EdgeResult structure. More...
 
override int GetHashCode ()
 Returns the hash code for this Rectangle More...
 
 EdgeResult (double x, double y, double quality, EdgeType type)
 Constructor. More...
 
override string ToString ()
 Gets the string representation of this edge result. More...
 

Static Public Member Functions

static bool operator!= (EdgeResult lhs, EdgeResult rhs)
 Comparison operator for Rect structs. More...
 
static bool operator== (EdgeResult lhs, EdgeResult rhs)
 Comparison operator for Rect structs. More...
 

Static Public Attributes

static readonly EdgeResult Empty = new EdgeResult()
 The edge result returned when nothing has been found.
 

Properties

double X [get]
 x-position relative to the last line processed (see Area).
 
double Y [get]
 y-position relative to the last line processed (see Area).
 
double Quality [get]
 Quality of detection, depending on the method used.
 
EdgeType Type [get]
 Type of the edge.
 
- Properties inherited from IPosition
double X [get]
 X coordinate of the position.
 
double Y [get]
 Y coordinate of the position.
 
- Properties inherited from IQualified
double Quality [get]
 Name of the object.
 

Detailed Description

Edge Search result

Constructor & Destructor Documentation

◆ EdgeResult()

EdgeResult ( double  x,
double  y,
double  quality,
EdgeType  type 
)

Constructor.

Parameters
xX-position relative to the last line processed (see Area).
yY-position relative to the last line processed (see Area).
qualityQuality of detection, depending on the method used.
typeType of result.

Member Function Documentation

◆ Equals()

override bool Equals ( object  obj)

Tests whether obj is an EdgeResult structure with the same content as this EdgeResult structure.

Parameters
objObject to compare to.
Returns
true of the object referred to by obj and this object are identical, false otherwise.

◆ GetHashCode()

override int GetHashCode ( )

Returns the hash code for this Rectangle

Returns
Hash code for this EdgeResult object.

◆ operator!=()

static bool operator!= ( EdgeResult  lhs,
EdgeResult  rhs 
)
static

Comparison operator for Rect structs.

Parameters
lhsleft hand side operand
rhsright hand side operand
Returns
true lhs != rhs, false otherwise

◆ operator==()

static bool operator== ( EdgeResult  lhs,
EdgeResult  rhs 
)
static

Comparison operator for Rect structs.

Parameters
lhsleft hand side operand
rhsright hand side operand
Returns
true lhs == rhs, false otherwise

◆ ToString()

override string ToString ( )

Gets the string representation of this edge result.

Returns
String representation.