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

Results provided by Manto classifier searches. More...

Inherits IPosition, IQualified, and INamed.

Public Member Functions

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

Static Public Member Functions

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

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.
 

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