MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshOrPointsXf Struct Reference

an object and its transformation to global space with other objects More...

#include <MRMeshOrPoints.h>

Public Member Functions

MRMESH_API std::function< MeshOrPoints::ProjectionResult(const Vector3f &)> projector () const
 returns a function that finds projection (closest) points on this: Vector3f->ProjectionResult
 
MRMESH_API MeshOrPoints::LimitedProjectorFunc limitedProjector () const
 

Public Attributes

MeshOrPoints obj
 
AffineXf3f xf
 

Detailed Description

an object and its transformation to global space with other objects

Member Function Documentation

◆ limitedProjector()

MRMESH_API MeshOrPoints::LimitedProjectorFunc MR::MeshOrPointsXf::limitedProjector ( ) const
nodiscard

returns a function that updates previously known projection (closest) points on this, the update takes place only if newly found closest point is closer to p than sqrt(res.distSq) given on input

◆ projector()

MRMESH_API std::function< MeshOrPoints::ProjectionResult(const Vector3f &)> MR::MeshOrPointsXf::projector ( ) const
nodiscard

returns a function that finds projection (closest) points on this: Vector3f->ProjectionResult

Member Data Documentation

◆ obj

MeshOrPoints MR::MeshOrPointsXf::obj

◆ xf

AffineXf3f MR::MeshOrPointsXf::xf

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