41#ifndef PCL_REGISTRATION_TRANSFORMATION_VALIDATION_EUCLIDEAN_IMPL_H_
42#define PCL_REGISTRATION_TRANSFORMATION_VALIDATION_EUCLIDEAN_IMPL_H_
46namespace registration {
48template <
typename Po
intSource,
typename Po
intTarget,
typename Scalar>
55 double fitness_score = 0.0;
62 const PointSource&
src = (*cloud_src)[i];
64 tgt.x =
static_cast<float>(
67 tgt.y =
static_cast<float>(
70 tgt.z =
static_cast<float>(
76 if (!force_no_recompute_) {
100 return (fitness_score /
nr);
101 return (std::numeric_limits<double>::max());
Iterator class for point clouds with or without given indices.
std::size_t size() const
Size of the range the iterator is going through.