10 #ifndef ApproxMVBB_Diameter_Utils_util_hpp 11 #define ApproxMVBB_Diameter_Utils_util_hpp 17 #include ApproxMVBB_TypeDefs_INCLUDE_FILE 27 double constsquareDiameter,
28 double const**theList,
32 const int _reduction_mode_ );
35 double constsquareDiameter,
36 double const**theList,
40 const int _reduction_mode_,
44 double const**theList,
48 const int _reduction_mode_ );
54 double constsquareDiameter,
55 double const**theList,
65 double const**theList1,
68 double const**theList2,
75 double const**theList,
82 double const**theList,
94 double const**theList,
102 double const**theList1,
105 double const**theList2,
APPROXMVBB_EXPORT int _FarthestPointFromSphere(TypeSegment *theSeg, double const **theList, const int first, int *last, const int dim, const int _reduction_mode_)
These are some container definitions.
APPROXMVBB_EXPORT double _MaximalSegmentInOneList(TypeSegment *theSeg, const int index, double const **theList, int *first, int *last, const int dim)
APPROXMVBB_EXPORT double _SquareDistance3D(double const *a, double const *b)
APPROXMVBB_EXPORT void _SwapPoints(double const **theList, const int i, const int j)
APPROXMVBB_EXPORT void _CountPointsInSpheres(TypeSegment *theSeg, double constsquareDiameter, double const **theList, const int first, const int last, const int dim)
APPROXMVBB_EXPORT int _FindPointInList(double const **theList, const int first, const int last, double x0, double x1)
APPROXMVBB_EXPORT double _QuadraticDiameterInTwoLists(TypeSegment *theDiam, int *index1, int *index2, double const **theList1, const int first1, const int last1, double const **theList2, const int first2, const int last2, const int dim)
APPROXMVBB_EXPORT double _QuadraticDiameterInOneList(TypeSegment *theDiam, double const **theList, const int first, const int last, const int dim)
APPROXMVBB_EXPORT double _MaximalSegmentInTwoLists(TypeSegment *theSeg, const int index1, double const **theList1, int *first1, int *last1, double const **theList2, int *first2, int *last2, int dim)
APPROXMVBB_EXPORT int _LastPointOutsideSphereWithDiameter(TypeSegment *theSeg, double constsquareDiameter, double const **theList, const int first, int *last, const int dim, const int _reduction_mode_)
APPROXMVBB_EXPORT double _ScalarProduct(double const *a, double const *b, double const *c, double const *d, const int dim)
APPROXMVBB_EXPORT double _GetCounterAverage(TypeCounter *c, const int i)
APPROXMVBB_EXPORT void _InitCounter(TypeCounter *c)
APPROXMVBB_EXPORT double _SquareDistance2D(double const *a, double const *b)
APPROXMVBB_EXPORT double _ScalarProduct2D(double const *a, double const *b, double const *c, double const *d)
APPROXMVBB_EXPORT double _MaximalDistanceFromPoint(int *index, double const *ref, double const **theList, const int first, const int last, const int dim)
APPROXMVBB_EXPORT void _AddToCounter(TypeCounter *c, const int i)
APPROXMVBB_EXPORT int _LastPointOutsideSphereAndBoundWithDiameter(TypeSegment *theSeg, double constsquareDiameter, double const **theList, const int first, int *last, const int dim, const int _reduction_mode_, double *bound)
APPROXMVBB_EXPORT double _SquareDistance(double const *a, double const *b, const int dim)
APPROXMVBB_EXPORT double _ScalarProduct3D(double const *a, double const *b, double const *c, double const *d)