CVB.Net 14.0
SearchResult Struct Reference

Search Result as returned by Minos More...

Inherits IPosition, INamed, and IQualified.

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, 0.0, Point2Dd.Empty, Point2Dd.Empty)
 Object describing an empty Search Result
 

Properties

string Name [get, set]
 Name of the class that has been found
 
double Quality [get]
 Quality at which the object has been found
 
Point2Dd Position [get]
 Position at which the object has been found
 
double X [get]
 X position at which the object has been found
 
double Y [get]
 Y position at which the object has been found
 
Point2Dd AdvanceVector [get]
 Advance vector of the model that has been found
 
- Properties inherited from IPosition
double X [get]
 X coordinate of the position.
 
double Y [get]
 Y coordinate of the position.
 
- Properties inherited from INamed
string Name [get]
 Name of the object.
 
- Properties inherited from IQualified
double Quality [get]
 Name of the object.
 

Detailed Description

Search Result as returned by Minos

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