Super4PCS Library  V1.1.2(719f5c0)
GlobalRegistration::Quadrilateral Struct Reference

Holds a base from P. The base contains 4 points (indices) from the set P. More...

+ Collaboration diagram for GlobalRegistration::Quadrilateral:

Public Member Functions

 Quadrilateral (int vertex0, int vertex1, int vertex2, int vertex3)
 
bool operator< (const Quadrilateral &rhs) const
 
bool operator== (const Quadrilateral &rhs) const
 
int operator[] (int idx) const
 
int & operator[] (int idx)
 

Public Attributes

std::array< int, 4 > vertices
 

Detailed Description

Holds a base from P. The base contains 4 points (indices) from the set P.

Constructor & Destructor Documentation

◆ Quadrilateral()

GlobalRegistration::Quadrilateral::Quadrilateral ( int  vertex0,
int  vertex1,
int  vertex2,
int  vertex3 
)
inline

Member Function Documentation

◆ operator<()

bool GlobalRegistration::Quadrilateral::operator< ( const Quadrilateral rhs) const
inline

◆ operator==()

bool GlobalRegistration::Quadrilateral::operator== ( const Quadrilateral rhs) const
inline

◆ operator[]() [1/2]

int GlobalRegistration::Quadrilateral::operator[] ( int  idx) const
inline

◆ operator[]() [2/2]

int& GlobalRegistration::Quadrilateral::operator[] ( int  idx)
inline

Member Data Documentation

◆ vertices

std::array<int, 4> GlobalRegistration::Quadrilateral::vertices