MeshCore::MeshTrimByPlane Class Reference

Trim the the facets in 3D with a plane. More...

#include <TrimByPlane.h>

Public Member Functions

void CheckFacets (const MeshFacetGrid &rclGrid, const Base::Vector3f &base, const Base::Vector3f &normal, std::vector< FacetIndex > &trimFacets, std::vector< FacetIndex > &removeFacets) const
 Checks all facets for intersection with the plane and writes all touched facets into the vector. More...
 
 MeshTrimByPlane (MeshKernel &mesh)
 
void TrimFacets (const std::vector< FacetIndex > &trimFacets, const Base::Vector3f &base, const Base::Vector3f &normal, std::vector< MeshGeomFacet > &trimmedFacets)
 The facets from trimFacets will be trimmed or deleted and trimmedFacets holds the newly generated facets. More...
 
 ~MeshTrimByPlane ()
 

Detailed Description

Trim the the facets in 3D with a plane.

Author
Werner Mayer

Constructor & Destructor Documentation

◆ MeshTrimByPlane()

MeshTrimByPlane::MeshTrimByPlane ( MeshKernel mesh)

◆ ~MeshTrimByPlane()

MeshTrimByPlane::~MeshTrimByPlane ( )

Member Function Documentation

◆ CheckFacets()

void MeshTrimByPlane::CheckFacets ( const MeshFacetGrid rclGrid,
const Base::Vector3f base,
const Base::Vector3f normal,
std::vector< FacetIndex > &  trimFacets,
std::vector< FacetIndex > &  removeFacets 
) const

◆ TrimFacets()

void MeshTrimByPlane::TrimFacets ( const std::vector< FacetIndex > &  trimFacets,
const Base::Vector3f base,
const Base::Vector3f normal,
std::vector< MeshGeomFacet > &  trimmedFacets 
)

The facets from trimFacets will be trimmed or deleted and trimmedFacets holds the newly generated facets.

References MeshCore::MeshKernel::GetFacet().


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