CVB.Net 14.0
SearchResult Struct Reference

Single result of a Finder.Find(DensePointCloud,SearchParameters) operation. More...

Public Member Functions

 SearchResult (Point3Dd position, Point3Dd rotationVector, Angle theta, double score)
 Constructor. More...
 
override bool Equals (object obj)
 Indicates whether this instance the given obj are equal. More...
 
bool Equals (SearchResult obj)
 Indicates whether this instance the given obj are equal. More...
 
override int GetHashCode ()
 Returns the hash code for this instance. More...
 

Static Public Member Functions

static bool operator== (SearchResult lhs, SearchResult rhs)
 Equality comparison operator. More...
 
static bool operator!= (SearchResult lhs, SearchResult rhs)
 Inequality comparison operator. More...
 

Properties

Point3Dd Position [get]
 Translation vector of objects origin from point cloud origin.
 
Point3Dd RotationVector [get]
 Normalized rotation axis vector of objects orientation.
 
Angle Theta [get]
 Rotation angle of objects orientation.
 
double Score [get]
 Score Detection confidence value (0..1).
 

Detailed Description

Single result of a Finder.Find(DensePointCloud,SearchParameters) operation.

Constructor & Destructor Documentation

◆ SearchResult()

SearchResult ( Point3Dd  position,
Point3Dd  rotationVector,
Angle  theta,
double  score 
)

Constructor.

Parameters
positionTranslation vector of objects origin from point cloud origin.
rotationVectorNormalized rotation axis vector of objects orientation.
thetaRotation angle of objects orientation.
scoreScore Detection confidence value (0..1).

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  obj)

Indicates whether this instance the given obj are equal.

Parameters
objObject to compare.
Returns
True if equal, false if not.

◆ Equals() [2/2]

bool Equals ( SearchResult  obj)

Indicates whether this instance the given obj are equal.

Parameters
objObject to compare.
Returns
True if equal, false if not.

◆ GetHashCode()

override int GetHashCode ( )

Returns the hash code for this instance.

Returns
A 32-bit signed integer that is the hash code for this instance.

◆ operator!=()

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

Inequality comparison operator.

Parameters
lhsLeft hand side operand.
rhsRight hand side operand.
Returns
True if lhs != rhs , otherwise false.

◆ operator==()

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

Equality comparison operator.

Parameters
lhsLeft hand side operand.
rhsRight hand side operand.
Returns
True if lhs == rhs , otherwise false.