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::pair< VectorStat< Dimension >, VectorStat< Dimension > > |
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) |
|
inline |
Definition at line 63 of file PointFunctions.hpp.
|
inline |
Definition at line 68 of file PointFunctions.hpp.
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.
void ApproxMVBB::PointFunctions::applyRandomRotTrans | ( | MatrixBase< Derived > & | points | ) |
Definition at line 47 of file PointFunctions.hpp.
|
inline |
Postcondition: Points need to be collinear
Definition at line 108 of file PointFunctions.hpp.
|
inline |
Definition at line 78 of file PointFunctions.hpp.
auto ApproxMVBB::PointFunctions::estimateDiameter | ( | const MatrixBase< Derived > & | points, |
const PREC | epsilon, | ||
std::size_t | seed = RandomGenerators::defaultSeed |
||
) | -> std::pair<VectorStat<Dimension>,VectorStat<Dimension> > |
Definition at line 203 of file PointFunctions.hpp.
|
inline |
Get angle measures from x-Axis through point a
Definition at line 125 of file PointFunctions.hpp.
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.
|
inline |
vec1 = b-a and vec2 = c-a
Definition at line 99 of file PointFunctions.hpp.
|
inline |
Traverse first y-Axis then if equal check x-Axis
Definition at line 188 of file PointFunctions.hpp.
|
inline |
Traverse first y-Axis then if equal check x-Axis
Definition at line 173 of file PointFunctions.hpp.
|
inline |
vec1 = b-a and vec2 = c-a
Definition at line 84 of file PointFunctions.hpp.