MeshCore::MeshTrimming Class Reference

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 ()
 

Detailed Description

Checks the facets in 2D and then trim them in 3D.

Member Enumeration Documentation

◆ TMode

Enumerator
INNER 
OUTER 

Constructor & Destructor Documentation

◆ MeshTrimming()

MeshTrimming::MeshTrimming ( MeshKernel mesh,
const Base::ViewProjMethod pclProj,
const Base::Polygon2d rclPoly 
)

◆ ~MeshTrimming()

MeshTrimming::~MeshTrimming ( )

Member Function Documentation

◆ CheckFacets()

◆ SetInnerOrOuter()

void MeshTrimming::SetInnerOrOuter ( TMode  tMode)

Setter: Trimm INNER or OUTER.

References INNER, and OUTER.

◆ TrimFacets()

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().


The documentation for this class was generated from the following files: