Classes | Functions
ApproxMVBB::PointFunctions Namespace Reference

Classes

class  CompareByAngle

Functions

template<typename VecT1 , typename VecT2 >
bool almostEqualAbs (const VecT1 &a, const VecT2 &b, PREC eps=1.0e-8)
template<typename VecT1 , typename VecT2 >
bool almostEqualUlp (const VecT1 &a, const VecT2 &b)
template<typename Derived , typename Gen >
ApproxMVBB_DEFINE_MATRIX_TYPES
ApproxMVBB_DEFINE_POINTS_CONFIG_TYPES
void 
applyRandomRotTrans (MatrixBase< Derived > &points, Gen &g)
template<typename Derived >
void applyRandomRotTrans (MatrixBase< Derived > &points)
template<typename VecT1 , typename VecT2 , typename VecT3 >
int collinearAreOrderedAlongLine (const VecT1 &a, const VecT2 &b, const VecT3 &c)
template<typename VecT1 , typename VecT2 >
bool equal (const VecT1 &a, const VecT2 &b)
template<unsigned int Dimension, typename Derived >
auto estimateDiameter (const MatrixBase< Derived > &points, const PREC epsilon, std::size_t seed=RandomGenerators::defaultSeed)-> std
template<typename VecT1 , typename VecT2 >
PREC getAngle (const VecT1 &a, const VecT2 &b)
template<typename VecT1 , typename VecT2 >
Vector2 intersectLines (const VecT1 &p1, PREC ang1, const VecT2 &p2, PREC ang2, PREC eps=1e-10)
template<typename VecT1 , typename VecT2 , typename VecT3 >
bool leftTurn (const VecT1 &a, const VecT2 &b, const VecT3 &c)
template<typename Derived >
unsigned int minPointXY (const MatrixBase< Derived > &points)
template<typename Derived >
unsigned int minPointYX (const MatrixBase< Derived > &points)
template<typename VecT1 , typename VecT2 , typename VecT3 >
int orient2d (const VecT1 &a, const VecT2 &b, const VecT3 &c)

Function Documentation

template<typename VecT1 , typename VecT2 >
bool ApproxMVBB::PointFunctions::almostEqualAbs ( const VecT1 &  a,
const VecT2 &  b,
PREC  eps = 1.0e-8 
) [inline]

Definition at line 63 of file PointFunctions.hpp.

template<typename VecT1 , typename VecT2 >
bool ApproxMVBB::PointFunctions::almostEqualUlp ( const VecT1 &  a,
const VecT2 &  b 
) [inline]

Definition at line 68 of file PointFunctions.hpp.

template<typename Derived , typename Gen >
ApproxMVBB_DEFINE_MATRIX_TYPES ApproxMVBB_DEFINE_POINTS_CONFIG_TYPES void ApproxMVBB::PointFunctions::applyRandomRotTrans ( MatrixBase< Derived > &  points,
Gen &  g 
)

Definition at line 34 of file PointFunctions.hpp.

template<typename Derived >
void ApproxMVBB::PointFunctions::applyRandomRotTrans ( MatrixBase< Derived > &  points)

Definition at line 47 of file PointFunctions.hpp.

template<typename VecT1 , typename VecT2 , typename VecT3 >
int ApproxMVBB::PointFunctions::collinearAreOrderedAlongLine ( const VecT1 &  a,
const VecT2 &  b,
const VecT3 &  c 
) [inline]

Postcondition: Points need to be collinear

Definition at line 108 of file PointFunctions.hpp.

template<typename VecT1 , typename VecT2 >
bool ApproxMVBB::PointFunctions::equal ( const VecT1 &  a,
const VecT2 &  b 
) [inline]

Definition at line 78 of file PointFunctions.hpp.

template<unsigned int Dimension, typename Derived >
auto ApproxMVBB::PointFunctions::estimateDiameter ( const MatrixBase< Derived > &  points,
const PREC  epsilon,
std::size_t  seed = RandomGenerators::defaultSeed 
)

Definition at line 203 of file PointFunctions.hpp.

template<typename VecT1 , typename VecT2 >
PREC ApproxMVBB::PointFunctions::getAngle ( const VecT1 &  a,
const VecT2 &  b 
) [inline]

Get angle measures from x-Axis through point a

Definition at line 125 of file PointFunctions.hpp.

template<typename VecT1 , typename VecT2 >
Vector2 ApproxMVBB::PointFunctions::intersectLines ( const VecT1 &  p1,
PREC  ang1,
const VecT2 &  p2,
PREC  ang2,
PREC  eps = 1e-10 
)

Definition at line 137 of file PointFunctions.hpp.

template<typename VecT1 , typename VecT2 , typename VecT3 >
bool ApproxMVBB::PointFunctions::leftTurn ( const VecT1 &  a,
const VecT2 &  b,
const VecT3 &  c 
) [inline]

vec1 = b-a and vec2 = c-a

Definition at line 99 of file PointFunctions.hpp.

template<typename Derived >
unsigned int ApproxMVBB::PointFunctions::minPointXY ( const MatrixBase< Derived > &  points) [inline]

Traverse first y-Axis then if equal check x-Axis

Definition at line 188 of file PointFunctions.hpp.

template<typename Derived >
unsigned int ApproxMVBB::PointFunctions::minPointYX ( const MatrixBase< Derived > &  points) [inline]

Traverse first y-Axis then if equal check x-Axis

Definition at line 173 of file PointFunctions.hpp.

template<typename VecT1 , typename VecT2 , typename VecT3 >
int ApproxMVBB::PointFunctions::orient2d ( const VecT1 &  a,
const VecT2 &  b,
const VecT3 &  c 
) [inline]

vec1 = b-a and vec2 = c-a

Definition at line 84 of file PointFunctions.hpp.



asr_approx_mvbb
Author(s): Gassner Nikolai
autogenerated on Sat Jun 8 2019 20:21:50