Geogram Version 1.8.5
A programming library of geometric algorithms
Loading...
Searching...
No Matches
mesh_surface_intersection.h File Reference

Functions for computing intersections between surfacic meshes and boolean operations. More...

#include <geogram/basic/common.h>
#include <geogram/mesh/mesh.h>
#include <geogram/numerics/exact_geometry.h>
#include <geogram/basic/process.h>
#include <geogram/basic/attributes.h>
#include <functional>

Go to the source code of this file.

Classes

class  GEO::MeshSurfaceIntersection
 Computes surface intersections. More...
 
class  GEO::MeshSurfaceIntersection::RadialSort
 

Namespaces

namespace  GEO
 Global Vorpaline namespace.
 

Functions

void GEO::mesh_classify_intersections (Mesh &M, std::function< bool(index_t)> eqn, const std::string &attribute="", bool reorder=true)
 Classifies the facets of the result of mesh_intersect_surface() based on a boolean function.
 
void GEO::mesh_classify_intersections (Mesh &M, const std::string &expr, const std::string &attribute="", bool reorder=true)
 Classifies the facets of the result of mesh_intersect_surface() based on a boolean function.
 
void GEO::mesh_boolean_operation (Mesh &result, Mesh &A, Mesh &B, const std::string &operation)
 Computes the union of two surface meshes.
 
void GEO::mesh_union (Mesh &result, Mesh &A, Mesh &B)
 Computes the union of two surface meshes.
 
void GEO::mesh_intersection (Mesh &result, Mesh &A, Mesh &B)
 Computes the intersection of two surface meshes.
 
void GEO::mesh_difference (Mesh &result, Mesh &A, Mesh &B)
 Computes the difference of two surface meshes.
 
void GEO::mesh_remove_intersections (Mesh &M, index_t max_iter=3)
 Attempts to make a surface mesh conformal by removing intersecting facets and re-triangulating the holes.
 
bool GEO::mesh_facets_have_intersection (Mesh &M, index_t f1, index_t f2)
 Tests whether two mesh facets have a non-degenerate intersection.
 

Detailed Description

Functions for computing intersections between surfacic meshes and boolean operations.

Definition in file mesh_surface_intersection.h.