CVB.Net 15.0
Loading...
Searching...
No Matches

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.
 
override int GetHashCode ()
 Returns the hash code for this Rectangle.
 
 EdgeResult (double x, double y, double quality, EdgeType type)
 Constructor.
 
override string ToString ()
 Gets the string representation of this edge result.
 

Static Public Member Functions

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

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.
 

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.