cheshirekow  v0.1.0
edelsbrunner96::ExhaustiveSimplexDistance< Traits > Class Template Reference

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< PointRefV_best_feature_
 
std::vector< PointRefV_feature_
 
Point x_best_proj_
 
Point x_proj_
 

Detailed Description

template<class Traits>
class edelsbrunner96::ExhaustiveSimplexDistance< Traits >

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.

Definition at line 230 of file simplex.h.

Member Typedef Documentation

template<class Traits >
typedef Traits::Point edelsbrunner96::ExhaustiveSimplexDistance< Traits >::Point

Definition at line 234 of file simplex.h.

template<class Traits >
typedef Traits::PointRef edelsbrunner96::ExhaustiveSimplexDistance< Traits >::PointRef

Definition at line 235 of file simplex.h.

template<class Traits >
typedef Traits::Scalar edelsbrunner96::ExhaustiveSimplexDistance< Traits >::Scalar

Definition at line 233 of file simplex.h.

template<class Traits >
typedef Traits::Storage edelsbrunner96::ExhaustiveSimplexDistance< Traits >::Storage

Definition at line 232 of file simplex.h.

Constructor & Destructor Documentation

template<class Traits >
edelsbrunner96::ExhaustiveSimplexDistance< Traits >::ExhaustiveSimplexDistance ( )
inline

Definition at line 237 of file simplex.h.

Member Function Documentation

template<class Traits >
template<typename InputIterator >
ExhaustiveSimplexDistance<Traits>& edelsbrunner96::ExhaustiveSimplexDistance< Traits >::Compute ( Storage storage,
const Point x,
InputIterator  begin,
InputIterator  end 
)
inline

Definition at line 244 of file simplex.h.

template<class Traits >
template<typename OutputIterator >
void edelsbrunner96::ExhaustiveSimplexDistance< Traits >::GetResult ( Scalar distance,
Point x_proj,
OutputIterator  V_out 
)
inline

Definition at line 267 of file simplex.h.

Member Data Documentation

template<class Traits >
Scalar edelsbrunner96::ExhaustiveSimplexDistance< Traits >::distance_
private

Definition at line 277 of file simplex.h.

template<class Traits >
Eigen::Matrix<Scalar, Eigen::Dynamic, 1, 0, Traits::NDim + 1, 1> edelsbrunner96::ExhaustiveSimplexDistance< Traits >::L_
private

Definition at line 275 of file simplex.h.

template<class Traits >
Scalar edelsbrunner96::ExhaustiveSimplexDistance< Traits >::min_distance_
private

Definition at line 281 of file simplex.h.

template<class Traits >
std::vector<PointRef> edelsbrunner96::ExhaustiveSimplexDistance< Traits >::V_best_feature_
private

Definition at line 279 of file simplex.h.

template<class Traits >
std::vector<PointRef> edelsbrunner96::ExhaustiveSimplexDistance< Traits >::V_feature_
private

Definition at line 274 of file simplex.h.

template<class Traits >
Point edelsbrunner96::ExhaustiveSimplexDistance< Traits >::x_best_proj_
private

Definition at line 280 of file simplex.h.

template<class Traits >
Point edelsbrunner96::ExhaustiveSimplexDistance< Traits >::x_proj_
private

Definition at line 276 of file simplex.h.


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