cheshirekow
v0.1.0
|
Computes the distance of a point to a simplex by expanding all combinations of vertices and evaluating the distance to the lower-dimensional simplex feature represented by that combination of vertices. More...
#include <edelsbrunner96/simplex.h>
Public Types | |
typedef Traits::Point | Point |
typedef Traits::PointRef | PointRef |
typedef Traits::Scalar | Scalar |
typedef Traits::Storage | Storage |
Public Member Functions | |
template<typename InputIterator > | |
ExhaustiveSimplexDistance < Traits > & | Compute (Storage &storage, const Point &x, InputIterator begin, InputIterator end) |
ExhaustiveSimplexDistance () | |
template<typename OutputIterator > | |
void | GetResult (Scalar *distance, Point *x_proj, OutputIterator V_out) |
Private Attributes | |
Scalar | distance_ |
Eigen::Matrix< Scalar, Eigen::Dynamic, 1, 0, Traits::NDim+1, 1 > | L_ |
Scalar | min_distance_ |
std::vector< PointRef > | V_best_feature_ |
std::vector< PointRef > | V_feature_ |
Point | x_best_proj_ |
Point | x_proj_ |
Computes the distance of a point to a simplex by expanding all combinations of vertices and evaluating the distance to the lower-dimensional simplex feature represented by that combination of vertices.
typedef Traits::Point edelsbrunner96::ExhaustiveSimplexDistance< Traits >::Point |
typedef Traits::PointRef edelsbrunner96::ExhaustiveSimplexDistance< Traits >::PointRef |
typedef Traits::Scalar edelsbrunner96::ExhaustiveSimplexDistance< Traits >::Scalar |
typedef Traits::Storage edelsbrunner96::ExhaustiveSimplexDistance< Traits >::Storage |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |