Project by intersection face planes with the curve. More...
#include <CurveProjector.h>
Public Member Functions | |
| CurveProjectorShape (const TopoDS_Shape &aShape, const MeshKernel &pMesh) | |
| bool | findStartPoint (const MeshKernel &MeshK, const Base::Vector3f &Pnt, Base::Vector3f &Rslt, unsigned long &FaceIndex) |
| void | projectCurve (const TopoDS_Edge &aEdge, std::vector< FaceSplitEdge > &vSplitEdges) |
| virtual | ~CurveProjectorShape () |
Protected Member Functions | |
| virtual void | Do () |
Project by intersection face planes with the curve.
Definition at line 93 of file CurveProjector.h.
| CurveProjectorShape::CurveProjectorShape | ( | const TopoDS_Shape & | aShape, | |
| const MeshKernel & | pMesh | |||
| ) |
Definition at line 83 of file CurveProjector.cpp.
References Do().
| virtual MeshPart::CurveProjectorShape::~CurveProjectorShape | ( | ) | [inline, virtual] |
Definition at line 97 of file CurveProjector.h.
| void CurveProjectorShape::Do | ( | void | ) | [protected, virtual] |
Implements MeshPart::CurveProjector.
Definition at line 89 of file CurveProjector.cpp.
References MeshPart::CurveProjector::_Shape, MeshPart::CurveProjector::mvEdgeSplitPoints, and projectCurve().
Referenced by CurveProjectorShape().
| bool CurveProjectorShape::findStartPoint | ( | const MeshKernel & | MeshK, | |
| const Base::Vector3f & | Pnt, | |||
| Base::Vector3f & | Rslt, | |||
| unsigned long & | FaceIndex | |||
| ) |
Definition at line 215 of file CurveProjector.cpp.
References FLOAT_MAX, MeshCore::MeshFacetIterator::Init(), Base::Length, MeshCore::MeshFacetIterator::More(), MeshCore::MeshFacetIterator::Next(), and MeshCore::MeshFacetIterator::Position().
Referenced by projectCurve().
| void CurveProjectorShape::projectCurve | ( | const TopoDS_Edge & | aEdge, | |
| std::vector< FaceSplitEdge > & | vSplitEdges | |||
| ) |
Definition at line 106 of file CurveProjector.cpp.
References MeshCore::MeshGeomFacet::_aclPoints, MeshPart::CurveProjector::_Mesh, Base::Console(), findStartPoint(), FLOAT_MAX, MeshCore::MeshKernel::GetFacet(), MeshCore::MeshKernel::GetFacetNeighbours(), MeshCore::MeshGeomFacet::GetNormal(), Handle(), RobotExample::l, MeshPart::CurveProjector::FaceSplitEdge::p1, MeshPart::CurveProjector::FaceSplitEdge::p2, and MeshPart::CurveProjector::FaceSplitEdge::ulFaceIndex.
Referenced by Do().
1.6.1