Classes | |
class | MR::PointAccumulator |
Class to accumulate points and make best line / plane approximation. More... | |
Functions | |
MRMESH_API void | MR::accumulatePoints (PointAccumulator &accum, const std::vector< Vector3f > &points, const AffineXf3f *xf=nullptr) |
Adds in existing PointAccumulator all given points. | |
MRMESH_API void | MR::accumulateWeighedPoints (PointAccumulator &accum, const std::vector< Vector3f > &points, const std::vector< float > &weights, const AffineXf3f *xf=nullptr) |
Adds in existing PointAccumulator all given weighed points. | |
MRMESH_API void | MR::accumulateFaceCenters (PointAccumulator &accum, const MeshPart &mp, const AffineXf3f *xf=nullptr) |
Adds in existing PointAccumulator all mesh face centers with the weight equal to face area. | |
MRMESH_API void | MR::accumulateLineCenters (PointAccumulator &accum, const Polyline3 &pl, const AffineXf3f *xf=nullptr) |
Adds in existing PointAccumulator all line centers with the weight equal to the length line. | |
MRMESH_API void | MR::accumulatePoints (PointAccumulator &accum, const PointCloud &pc, const AffineXf3f *xf=nullptr) |
Adds in existing PointAccumulator all points from the cloud with weight 1. | |
MRMESH_API void MR::accumulateFaceCenters | ( | PointAccumulator & | accum, |
const MeshPart & | mp, | ||
const AffineXf3f * | xf = nullptr ) |
Adds in existing PointAccumulator all mesh face centers with the weight equal to face area.
MRMESH_API void MR::accumulateLineCenters | ( | PointAccumulator & | accum, |
const Polyline3 & | pl, | ||
const AffineXf3f * | xf = nullptr ) |
Adds in existing PointAccumulator all line centers with the weight equal to the length line.
MRMESH_API void MR::accumulatePoints | ( | PointAccumulator & | accum, |
const PointCloud & | pc, | ||
const AffineXf3f * | xf = nullptr ) |
Adds in existing PointAccumulator all points from the cloud with weight 1.
MRMESH_API void MR::accumulatePoints | ( | PointAccumulator & | accum, |
const std::vector< Vector3f > & | points, | ||
const AffineXf3f * | xf = nullptr ) |
Adds in existing PointAccumulator all given points.
MRMESH_API void MR::accumulateWeighedPoints | ( | PointAccumulator & | accum, |
const std::vector< Vector3f > & | points, | ||
const std::vector< float > & | weights, | ||
const AffineXf3f * | xf = nullptr ) |
Adds in existing PointAccumulator all given weighed points.