MeshCore::MeshFixSelfIntersection Class Reference

The MeshFixSelfIntersection class tries to fix self-intersections. More...

#include <Evaluation.h>

Public Member Functions

bool Fixup ()
 This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise. More...
 
std::vector< FacetIndexGetFacets () const
 
 MeshFixSelfIntersection (MeshKernel &rclB, const std::vector< std::pair< FacetIndex, FacetIndex > > &si)
 
virtual ~MeshFixSelfIntersection ()
 
- Public Member Functions inherited from MeshCore::MeshValidation
virtual bool Fixup ()=0
 This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise. More...
 
 MeshValidation (MeshKernel &rclB)
 
virtual ~MeshValidation ()
 

Detailed Description

The MeshFixSelfIntersection class tries to fix self-intersections.

See also
MeshEvalSingleFacet

Constructor & Destructor Documentation

◆ MeshFixSelfIntersection()

MeshCore::MeshFixSelfIntersection::MeshFixSelfIntersection ( MeshKernel rclB,
const std::vector< std::pair< FacetIndex, FacetIndex > > &  si 
)

◆ ~MeshFixSelfIntersection()

virtual MeshCore::MeshFixSelfIntersection::~MeshFixSelfIntersection ( )
virtual

Member Function Documentation

◆ Fixup()

bool MeshFixSelfIntersection::Fixup ( )
virtual

This function attempts to change the mesh kernel to be valid according to the checked criterion: True is returned if the errors could be fixed, false otherwise.

Implements MeshCore::MeshValidation.

References GetFacets().

Referenced by Mesh::MeshObject::removeSelfIntersections().

◆ GetFacets()

std::vector< FacetIndex > MeshFixSelfIntersection::GetFacets ( ) const

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