CVB.Net 14.0
SearchResult Struct Reference

Results provided by Manto classifier searches. More...

Inherits IPosition, IQualified, and INamed.

Public Member Functions

override string ToString ()
 Conversion to string More...
 
override bool Equals (object obj)
 Equality comparison. More...
 
override int GetHashCode ()
 Hash code generation. More...
 

Static Public Member Functions

static bool operator== (SearchResult lhs, SearchResult rhs)
 Compare two SearchResult structs for inequality. More...
 
static bool operator!= (SearchResult lhs, SearchResult rhs)
 Compare two SearchResult structs for inequality. More...
 

Static Public Attributes

static readonly SearchResult Empty = new SearchResult(string.Empty, -1, 0.0, Point2Dd.Empty)
 A non-result.
 

Properties

Point2Dd Position [get]
 Location of the result
 
double X [get]
 Location (X) of the result
 
double Y [get]
 Location (Y) of the result
 
double Confidence [get]
 Measure for the degree to which this result can be trusted.
 
double Quality [get]
 Quality is an alias for Confidence that is needed to make the Manto Search result object ISeparable.
 
int ClassIndex [get]
 Index of the class in the classifier's Classes collection that this result represents.
 
string Name [get]
 Name of the class that this result represents.
 
- 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.
 
- Properties inherited from INamed
string Name [get]
 Name of the object.
 

Detailed Description

Results provided by Manto classifier searches.

Member Function Documentation

◆ Equals()

override bool Equals ( object  obj)

Equality comparison.

Parameters
objobject to compare to.
Returns
true if the objects are identical, falso otherwise

◆ GetHashCode()

override int GetHashCode ( )

Hash code generation.

Returns
hash code for the object

◆ operator!=()

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

Compare two SearchResult structs for inequality.

Parameters
lhsfirst object to be compared
rhssecond object to be compared
Returns
true if the objects differ, false otherwise

◆ operator==()

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

Compare two SearchResult structs for inequality.

Parameters
lhsfirst object to be compared
rhssecond object to be compared
Returns
false if the objects differ, true otherwise


◆ ToString()

override string ToString ( )

Conversion to string

Returns
string representation of this object