|
FougTools
0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
|
Framework to perform normal point projection on a soup of topologic faces. More...
#include <occtools/brep_point_on_faces_projection.h>
Public Member Functions | |
| BRepPointOnFacesProjection () | |
| Construct an uninitialized BRepPointOnFacesProjection. More... | |
| BRepPointOnFacesProjection (const TopoDS_Shape &faces) | |
Construct a BRepPointOnFacesProjection and call prepare() on faces. More... | |
| ~BRepPointOnFacesProjection () | |
| void | releaseMemory () |
| void | prepare (const TopoDS_Shape &faces) |
Setup the algorithm to project points on faces. More... | |
| BRepPointOnFacesProjection & | compute (const gp_Pnt &point) |
| bool | isDone () const |
| const TopoDS_Face & | solutionFace () const |
| gp_Pnt | solutionPoint () const |
| std::pair< double, double > | solutionUV () const |
| gp_Vec | solutionNormal () const |
Framework to perform normal point projection on a soup of topologic faces.
Internally, the utility class GeomAPI_ProjectPointOnSurf is heavily used.
The algorithmics are pretty slow : for a point to be projected, the projection of that point is performed on each loaded TopoDS_Face with the help of GeomAPI_ProjectPointOnSurf.
The minimal distance amongst all the projection candidates is computed to get the final projected point
| occ::BRepPointOnFacesProjection::BRepPointOnFacesProjection | ( | ) |
Construct an uninitialized BRepPointOnFacesProjection.
| occ::BRepPointOnFacesProjection::BRepPointOnFacesProjection | ( | const TopoDS_Shape & | faces | ) |
Construct a BRepPointOnFacesProjection and call prepare() on faces.
| occ::BRepPointOnFacesProjection::~BRepPointOnFacesProjection | ( | ) |
| BRepPointOnFacesProjection & occ::BRepPointOnFacesProjection::compute | ( | const gp_Pnt & | point | ) |
| bool occ::BRepPointOnFacesProjection::isDone | ( | ) | const |
| void occ::BRepPointOnFacesProjection::prepare | ( | const TopoDS_Shape & | faces | ) |
Setup the algorithm to project points on faces.
| faces | A soup of topologic faces |
| void occ::BRepPointOnFacesProjection::releaseMemory | ( | ) |
| const TopoDS_Face & occ::BRepPointOnFacesProjection::solutionFace | ( | ) | const |
| gp_Vec occ::BRepPointOnFacesProjection::solutionNormal | ( | ) | const |
| gp_Pnt occ::BRepPointOnFacesProjection::solutionPoint | ( | ) | const |
| std::pair< double, double > occ::BRepPointOnFacesProjection::solutionUV | ( | ) | const |
1.8.8