Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Stores information about a triangle-triangle intersection. More...
#include <geogram/mesh/mesh_surface_intersection_internal.h>
Public Member Functions | |
void | flip () |
bool | is_point () const |
Tests whether intersection is just a point. More... | |
Public Attributes | |
index_t | f1 |
index_t | f2 |
TriangleRegion | A_rgn_f1 |
TriangleRegion | A_rgn_f2 |
TriangleRegion | B_rgn_f1 |
TriangleRegion | B_rgn_f2 |
Stores information about a triangle-triangle intersection.
The intersection is a segment A-B. Its extremities A and B are indicated by the regions in f1 and f2 that created the intersection. If the intersection is just a point, then A and B regions are the same.
Definition at line 451 of file mesh_surface_intersection_internal.h.
|
inline |
Swaps the two facets and updates the combinatorial information accordingly.
Definition at line 458 of file mesh_surface_intersection_internal.h.
|
inline |
Tests whether intersection is just a point.
Points are encoded as segments with the same symbolic information for both vertices.
Definition at line 473 of file mesh_surface_intersection_internal.h.