MeshCore::MeshProjection Class Reference

#include <Projection.h>

Public Member Functions

 MeshProjection (const MeshKernel &)
 
bool projectLineOnMesh (const MeshFacetGrid &grid, const Base::Vector3f &p1, FacetIndex f1, const Base::Vector3f &p2, FacetIndex f2, const Base::Vector3f &view, std::vector< Base::Vector3f > &polyline)
 
 ~MeshProjection ()
 

Protected Member Functions

bool bboxInsideRectangle (const Base::BoundBox3f &bbox, const Base::Vector3f &p1, const Base::Vector3f &p2, const Base::Vector3f &view) const
 
bool connectLines (std::list< std::pair< Base::Vector3f, Base::Vector3f > > &cutLines, const Base::Vector3f &startPoint, const Base::Vector3f &endPoint, std::vector< Base::Vector3f > &polyline) const
 
bool isPointInsideDistance (const Base::Vector3f &p1, const Base::Vector3f &p2, const Base::Vector3f &pt) const
 

Constructor & Destructor Documentation

◆ MeshProjection()

MeshProjection::MeshProjection ( const MeshKernel mesh)

◆ ~MeshProjection()

MeshProjection::~MeshProjection ( )

Member Function Documentation

◆ bboxInsideRectangle()

◆ connectLines()

bool MeshProjection::connectLines ( std::list< std::pair< Base::Vector3f, Base::Vector3f > > &  cutLines,
const Base::Vector3f startPoint,
const Base::Vector3f endPoint,
std::vector< Base::Vector3f > &  polyline 
) const
protected

References Base::DistanceP2().

Referenced by projectLineOnMesh().

◆ isPointInsideDistance()

bool MeshProjection::isPointInsideDistance ( const Base::Vector3f p1,
const Base::Vector3f p2,
const Base::Vector3f pt 
) const
protected

◆ projectLineOnMesh()


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