Public Types | Public Member Functions | Private Attributes | List of all members
ApproxMVBB::PointFunctions::CompareByAngle Class Reference

#include <PointFunctions.hpp>

Public Types

using PointData = std::pair< unsigned int, bool >
 

Public Member Functions

template<typename Derived >
 CompareByAngle (const MatrixBase< Derived > &points, const Vector2 &base, unsigned int baseIdx, unsigned int &deletedPoints)
 
int operator() (const PointData &point1In, const PointData &point2In)
 

Private Attributes

const Vector2 m_base
 
const unsigned int m_baseIdx
 
unsigned int & m_deletedPoints
 
const MatrixRef< const Matrix2Dyn > m_p
 

Detailed Description

Definition at line 239 of file PointFunctions.hpp.

Member Typedef Documentation

using ApproxMVBB::PointFunctions::CompareByAngle::PointData = std::pair<unsigned int, bool>

Definition at line 245 of file PointFunctions.hpp.

Constructor & Destructor Documentation

template<typename Derived >
ApproxMVBB::PointFunctions::CompareByAngle::CompareByAngle ( const MatrixBase< Derived > &  points,
const Vector2 &  base,
unsigned int  baseIdx,
unsigned int &  deletedPoints 
)
inline

Cosntructor, points is not a temporary, it accepts all sorts of matrix expressions, however the construction of MatrixRef<> might create a temporary but this is stored in m_p!

Definition at line 251 of file PointFunctions.hpp.

Member Function Documentation

int ApproxMVBB::PointFunctions::CompareByAngle::operator() ( const PointData point1In,
const PointData point2In 
)
inline

True if b is positively rotated from a, stricly weak ordering!

Definition at line 259 of file PointFunctions.hpp.

Member Data Documentation

const Vector2 ApproxMVBB::PointFunctions::CompareByAngle::m_base
private

Definition at line 301 of file PointFunctions.hpp.

const unsigned int ApproxMVBB::PointFunctions::CompareByAngle::m_baseIdx
private

Definition at line 301 of file PointFunctions.hpp.

unsigned int& ApproxMVBB::PointFunctions::CompareByAngle::m_deletedPoints
private

Definition at line 302 of file PointFunctions.hpp.

const MatrixRef<const Matrix2Dyn> ApproxMVBB::PointFunctions::CompareByAngle::m_p
private

Definition at line 300 of file PointFunctions.hpp.


The documentation for this class was generated from the following file:


asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Mon Jun 10 2019 12:38:09