Project by projecting a sampled curve to the mesh. More...
#include <CurveProjector.h>
Classes | |
struct | LineSeg |
Public Member Functions | |
CurveProjectorWithToolMesh (const TopoDS_Shape &aShape, const MeshKernel &pMesh, MeshKernel &rToolMesh) | |
void | makeToolMesh (const TopoDS_Edge &aEdge, std::vector< MeshGeomFacet > &cVAry) |
virtual | ~CurveProjectorWithToolMesh () |
Public Attributes | |
MeshKernel & | ToolMesh |
Protected Member Functions | |
virtual void | Do () |
Project by projecting a sampled curve to the mesh.
Definition at line 138 of file CurveProjector.h.
CurveProjectorWithToolMesh::CurveProjectorWithToolMesh | ( | const TopoDS_Shape & | aShape, | |
const MeshKernel & | pMesh, | |||
MeshKernel & | rToolMesh | |||
) |
Definition at line 564 of file CurveProjector.cpp.
References Do().
virtual MeshPart::CurveProjectorWithToolMesh::~CurveProjectorWithToolMesh | ( | ) | [inline, virtual] |
Definition at line 147 of file CurveProjector.h.
void CurveProjectorWithToolMesh::Do | ( | void | ) | [protected, virtual] |
Implements MeshPart::CurveProjector.
Definition at line 571 of file CurveProjector.cpp.
References MeshPart::CurveProjector::_Shape, MeshCore::MeshKernel::AddFacets(), makeToolMesh(), and ToolMesh.
Referenced by CurveProjectorWithToolMesh().
void CurveProjectorWithToolMesh::makeToolMesh | ( | const TopoDS_Edge & | aEdge, | |
std::vector< MeshGeomFacet > & | cVAry | |||
) |
Definition at line 594 of file CurveProjector.cpp.
References MeshPart::CurveProjector::_Mesh, Base::Console(), Base::Distance(), FLOAT_MAX, Handle(), MeshCore::MeshFacetIterator::Init(), MeshCore::MeshFacetIterator::More(), MeshPart::CurveProjectorWithToolMesh::LineSeg::n, MeshCore::MeshFacetIterator::Next(), Base::SequencerLauncher::next(), Base::Vector3< _Precision >::Normalize(), and MeshPart::CurveProjectorWithToolMesh::LineSeg::p.
Referenced by Do().
Definition at line 153 of file CurveProjector.h.
Referenced by Do().