Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::IsectInfo Struct Reference

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
 

Detailed Description

Stores information about a triangle-triangle intersection.

The intersection is a segment. Its extremities 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 450 of file mesh_surface_intersection_internal.h.

Member Function Documentation

◆ flip()

void GEO::IsectInfo::flip ( )
inline

Swaps the two facets and updates the combinatorial information accordingly.

Definition at line 457 of file mesh_surface_intersection_internal.h.

◆ is_point()

bool GEO::IsectInfo::is_point ( ) const
inline

Tests whether intersection is just a point.

Points are encoded as segments with the same symbolic information for both vertices.

Definition at line 472 of file mesh_surface_intersection_internal.h.


The documentation for this struct was generated from the following file: