MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::PointsProjector Class Reference

default implementation of IPointsProjector More...

#include <MRPointsProject.h>

+ Inheritance diagram for MR::PointsProjector:

Public Member Functions

MRMESH_API Expected< void > setPointCloud (const PointCloud &pointCloud) override
 sets the reference point cloud
 
MRMESH_API Expected< void > findProjections (std::vector< PointsProjectionResult > &results, const std::vector< Vector3f > &points, const FindProjectionOnPointsSettings &settings) const override
 computes the closest points on point cloud to given points
 
- Public Member Functions inherited from MR::IPointsProjector
virtual ~IPointsProjector ()=default
 

Detailed Description

default implementation of IPointsProjector

Member Function Documentation

◆ findProjections()

MRMESH_API Expected< void > MR::PointsProjector::findProjections ( std::vector< PointsProjectionResult > & results,
const std::vector< Vector3f > & points,
const FindProjectionOnPointsSettings & settings ) const
overridevirtual

computes the closest points on point cloud to given points

Implements MR::IPointsProjector.

◆ setPointCloud()

MRMESH_API Expected< void > MR::PointsProjector::setPointCloud ( const PointCloud & pointCloud)
overridevirtual

sets the reference point cloud

Implements MR::IPointsProjector.


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