Wildmeshing Toolkit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
wmtk::components::tetwild::orig::LocalOperations Class Reference
Inheritance diagram for wmtk::components::tetwild::orig::LocalOperations:
wmtk::components::tetwild::orig::EdgeCollapser wmtk::components::tetwild::orig::EdgeRemover wmtk::components::tetwild::orig::EdgeSplitter wmtk::components::tetwild::orig::VertexSmoother

Public Member Functions

 LocalOperations (std::vector< TetVertex > &t_vs, std::vector< std::array< int, 4 > > &ts, std::vector< std::array< int, 4 > > &is_sf_fs, std::vector< bool > &v_is_rm, std::vector< bool > &t_is_rm, std::vector< TetQuality > &tet_qs, const SampleEnvelope &geo_tree, const SampleEnvelope &b_t, const Args &ar, State &st)
 
void outputInfo (int op_type, double time, bool is_log=true)
 
void calTetQualities (const std::vector< std::array< int, 4 > > &new_tets, std::vector< TetQuality > &tet_qs)
 
double calEdgeLength (int v1_id, int v2_id)
 
void calTetQuality_AMIPS (const std::array< int, 4 > &tet, TetQuality &t_quality)
 
bool isFlip (const std::vector< std::array< int, 4 > > &new_tets)
 
bool isTetFlip (const std::array< int, 4 > &t)
 
bool isTetFlip (int t_id)
 
void getAvgMaxEnergy (double &avg_tq, double &max_tq)
 
double getMaxEnergy ()
 
void getCheckQuality (const std::vector< TetQuality > &tet_qs, TetQuality &tq)
 
void getCheckQuality (const std::vector< int > &t_ids, TetQuality &tq)
 
bool isEdgeOnSurface (int v1_id, int v2_id)
 
bool isEdgeOnBbox (int v1_id, int v2_id)
 
bool isEdgeOnSurface (int v1_id, int v2_id, const std::vector< int > &t_ids)
 
bool isEdgeOnBbox (int v1_id, int v2_id, const std::vector< int > &t_ids)
 
bool isEdgeOnBoundary (int v1_id, int v2_id)
 
bool isFaceOutEnvelop (const std::array< Vector3d, 3 > &tri)
 
bool isPointOutEnvelop (const Vector3d &p)
 
bool isPointOutBoundaryEnvelop (const Vector3d &p)
 
void getFaceConnTets (int v1_id, int v2_id, int v3_id, std::vector< int > &t_ids)
 
bool isIsolated (int v_id)
 
bool isBoundaryPoint (int v_id)
 
bool isLocked_ui (const std::array< int, 2 > &e)
 
bool isTetLocked_ui (int tid)
 

Public Attributes

const Argsargs
 
Statestate
 
std::vector< TetVertex > & tet_vertices
 
std::vector< std::array< int, 4 > > & tets
 
std::vector< std::array< int, 4 > > & is_surface_fs
 
std::vector< bool > & v_is_removed
 
std::vector< bool > & t_is_removed
 
std::vector< TetQuality > & tet_qualities
 
const SampleEnvelopegeo_sf_tree
 
const SampleEnvelopegeo_b_tree
 
int counter = 0
 
int suc_counter = 0
 
igl::Timer igl_timer0
 
int id_sampling = 0
 
int id_aabb = 1
 
int mid_id = 0
 

Member Function Documentation

◆ isBoundaryPoint()

bool wmtk::components::tetwild::orig::LocalOperations::isBoundaryPoint ( int  v_id)

DZ: Check if vertex has any boundary edge incident.

◆ isEdgeOnBoundary()

bool wmtk::components::tetwild::orig::LocalOperations::isEdgeOnBoundary ( int  v1_id,
int  v2_id 
)

DZ: Check if edge (v1,v2) is on the surface boundary.

An edge cannot be on the boundary if v1 or v2 is not marked as on boundary. An edge is on the boundary if it has exactly one surface face incident.

◆ isFlip()

bool wmtk::components::tetwild::orig::LocalOperations::isFlip ( const std::vector< std::array< int, 4 > > &  new_tets)

DZ: Return true if any tet is inverted or degenerated.

◆ isIsolated()

bool wmtk::components::tetwild::orig::LocalOperations::isIsolated ( int  v_id)

DZ: True if a vertex is marked as on surface but has no surface face incident.

◆ isTetFlip()

bool wmtk::components::tetwild::orig::LocalOperations::isTetFlip ( const std::array< int, 4 > &  t)

DZ: Return true if tet is inverted or degenerated.


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