Project by projecting a sampled curve to the mesh. More...
#include <CurveProjector.h>
Public Member Functions | |
CurveProjectorSimple (const TopoDS_Shape &aShape, const MeshKernel &pMesh) | |
bool findStartPoint (const MeshKernel &MeshK, const Base::Vector3f &Pnt, Base::Vector3f &Rslt, unsigned long &FaceIndex) | |
void GetSampledCurves (const TopoDS_Edge &aEdge, std::vector< Base::Vector3f > &rclPoints, unsigned long ulNbOfPoints=30) | |
helper to discredicice a Edge... More... | |
void projectCurve (const TopoDS_Edge &aEdge, const std::vector< Base::Vector3f > &rclPoints, std::vector< FaceSplitEdge > &vSplitEdges) | |
virtual ~CurveProjectorSimple () | |
![]() | |
CurveProjector (const TopoDS_Shape &aShape, const MeshKernel &pMesh) | |
result_type & result (void) | |
void writeIntersectionPointsToFile (const char *name="export_pts.asc") | |
virtual ~CurveProjector () | |
Protected Member Functions | |
virtual void Do () | |
Additional Inherited Members | |
![]() | |
typedef std::map< TopoDS_Edge, std::vector< FaceSplitEdge >, TopoDSLess< TopoDS_Edge > > result_type | |
![]() | |
result_type mvEdgeSplitPoints | |
Detailed Description
Project by projecting a sampled curve to the mesh.
Constructor & Destructor Documentation
◆ CurveProjectorSimple()
CurveProjectorSimple::CurveProjectorSimple | ( | const TopoDS_Shape & | aShape, |
const MeshKernel & | pMesh | ||
) |
References Do().
◆ ~CurveProjectorSimple()
|
virtual |
Member Function Documentation
◆ Do()
|
protectedvirtual |
Implements MeshPart::CurveProjector.
References MeshPart::CurveProjector::mvEdgeSplitPoints, and projectCurve().
Referenced by CurveProjectorSimple().
◆ findStartPoint()
bool CurveProjectorSimple::findStartPoint | ( | const MeshKernel & | MeshK, |
const Base::Vector3f & | Pnt, | ||
Base::Vector3f & | Rslt, | ||
unsigned long & | FaceIndex | ||
) |
◆ GetSampledCurves()
void CurveProjectorSimple::GetSampledCurves | ( | const TopoDS_Edge & | aEdge, |
std::vector< Base::Vector3f > & | rclPoints, | ||
unsigned long | ulNbOfPoints = 30 |
||
) |
helper to discredicice a Edge...
◆ projectCurve()
void CurveProjectorSimple::projectCurve | ( | const TopoDS_Edge & | aEdge, |
const std::vector< Base::Vector3f > & | rclPoints, | ||
std::vector< FaceSplitEdge > & | vSplitEdges | ||
) |
References Base::Console(), MeshCore::MeshGeomFacet::GetNormal(), MeshCore::MeshFacetIterator::Init(), MeshCore::MeshGeomFacet::IntersectWithLine(), Base::ConsoleSingleton::Log(), MeshCore::MeshFacetIterator::More(), MeshCore::MeshFacetIterator::Next(), Base::SequencerLauncher::next(), MeshCore::MeshFacetIterator::Position(), Base::Vector3< _Precision >::x, Base::Vector3< _Precision >::y, and Base::Vector3< _Precision >::z.
Referenced by Do().
The documentation for this class was generated from the following files:
- src/Mod/MeshPart/App/CurveProjector.h
- src/Mod/MeshPart/App/CurveProjector.cpp