Checks the facets in 2D and then trim them in 3D. More...
#include <Trim.h>
Public Types | |
| enum | TMode { INNER , OUTER } |
Public Member Functions | |
| void | CheckFacets (const MeshFacetGrid &rclGrid, std::vector< FacetIndex > &raulFacets) const |
| Checks all facets for intersection with the polygon and writes all touched facets into the vector. More... | |
| MeshTrimming (MeshKernel &mesh, const Base::ViewProjMethod *pclProj, const Base::Polygon2d &rclPoly) | |
| void | SetInnerOrOuter (TMode tMode) |
| Setter: Trimm INNER or OUTER. More... | |
| void | TrimFacets (const std::vector< FacetIndex > &raulFacets, std::vector< MeshGeomFacet > &aclNewFacets) |
| The facets from raulFacets will be trimmed or deleted and aclNewFacets gives the new generated facets. More... | |
| ~MeshTrimming () | |
Checks the facets in 2D and then trim them in 3D.
| MeshTrimming::MeshTrimming | ( | MeshKernel & | mesh, |
| const Base::ViewProjMethod * | pclProj, | ||
| const Base::Polygon2d & | rclPoly | ||
| ) |
| MeshTrimming::~MeshTrimming | ( | ) |
| void MeshTrimming::CheckFacets | ( | const MeshFacetGrid & | rclGrid, |
| std::vector< FacetIndex > & | raulFacets | ||
| ) | const |
Checks all facets for intersection with the polygon and writes all touched facets into the vector.
References Base::Polygon2d::CalcBoundBox(), MeshCore::MeshKernel::CountFacets(), MeshCore::MeshGridIterator::GetBoundBox(), MeshCore::MeshGridIterator::GetElements(), MeshCore::MeshKernel::GetFacet(), MeshCore::MeshGridIterator::Init(), MeshCore::MeshFacetIterator::Init(), Base::BoundBox2d::Intersect(), MeshCore::MeshGridIterator::More(), MeshCore::MeshFacetIterator::More(), MeshCore::MeshGridIterator::Next(), MeshCore::MeshFacetIterator::Next(), Base::SequencerLauncher::next(), MeshCore::MeshFacetIterator::Position(), and Base::BoundBox3< _Precision >::ProjectBox().
| void MeshTrimming::SetInnerOrOuter | ( | TMode | tMode | ) |
| void MeshTrimming::TrimFacets | ( | const std::vector< FacetIndex > & | raulFacets, |
| std::vector< MeshGeomFacet > & | aclNewFacets | ||
| ) |
The facets from raulFacets will be trimmed or deleted and aclNewFacets gives the new generated facets.
References Base::SequencerLauncher::next().