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 Member Functions inherited from MeshPart::CurveProjector | |
CurveProjector (const TopoDS_Shape &aShape, const MeshKernel &pMesh) | |
result_type & | result (void) |
void | writeIntersectionPointsToFile (const char *name="export_pts.asc") |
virtual | ~CurveProjector () |
Public Attributes | |
MeshKernel & | ToolMesh |
Protected Member Functions | |
virtual void | Do () |
virtual void | Do ()=0 |
Additional Inherited Members | |
Public Types inherited from MeshPart::CurveProjector | |
typedef std::map< TopoDS_Edge, std::vector< FaceSplitEdge >, TopoDSLess< TopoDS_Edge > > | result_type |
Protected Attributes inherited from MeshPart::CurveProjector | |
result_type | mvEdgeSplitPoints |
Project by projecting a sampled curve to the mesh.
CurveProjectorWithToolMesh::CurveProjectorWithToolMesh | ( | const TopoDS_Shape & | aShape, |
const MeshKernel & | pMesh, | ||
MeshKernel & | rToolMesh | ||
) |
References Do().
|
virtual |
|
protectedvirtual |
Implements MeshPart::CurveProjector.
References MeshCore::MeshKernel::AddFacets(), makeToolMesh(), and ToolMesh.
Referenced by CurveProjectorWithToolMesh().
void CurveProjectorWithToolMesh::makeToolMesh | ( | const TopoDS_Edge & | aEdge, |
std::vector< MeshGeomFacet > & | cVAry | ||
) |
References Base::Console(), Base::Distance(), MeshCore::MeshGeomFacet::GetNormal(), MeshCore::MeshFacetIterator::Init(), MeshCore::MeshGeomFacet::IntersectWithLine(), Base::ConsoleSingleton::Log(), MeshCore::MeshFacetIterator::More(), MeshCore::MeshFacetIterator::Next(), Base::SequencerLauncher::next(), Base::Vector3< _Precision >::Normalize(), and MeshPart::CurveProjectorWithToolMesh::LineSeg::p.
Referenced by Do().
MeshKernel& MeshPart::CurveProjectorWithToolMesh::ToolMesh |
Referenced by Do().