GemaCoreLib
The GeMA Core library
Classes | Enumerations
gmSegmentCellIntersection.h File Reference

Declaration of the GmSegmentCellIntersection class & friends. More...

#include "gmLog.h"
#include "gmVector.h"
Include dependency graph for gmSegmentCellIntersection.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GmSegmentCellIntersection
 Representation for the intersection between a polyline segment and a mesh cell. Can be used both in 2D and in 3D. More...
 
struct  GmSegmentCellIntersection::IntersectionPoint
 
class  GmCompact2DSegmentCellIntersection
 A (much more) compact version of GmSegmentCellIntersection for 2d intersections only. Must be created on the heap by a call to instance(). More...
 

Enumerations

enum  GmSegmentCellIntersectionPointKind {
  GM_NO_INTERSECTION, GM_NODE_INTERSECTION, GM_EDGE_INTERSECTION, GM_FACE_INTERSECTION,
  GM_INTERNAL_INTERSECTION, GM_NUM_INTERSECTION_POINT_KIND
}
 Intersection point type between a segment and a 2D or 3D cell. More...
 

Detailed Description

Declaration of the GmSegmentCellIntersection class & friends.

Author
Carlos Augusto Teixeira Mendes
Date
october, 2023

Enumeration Type Documentation

◆ GmSegmentCellIntersectionPointKind

Intersection point type between a segment and a 2D or 3D cell.

Enumerator
GM_NO_INTERSECTION 

There is no intersection. Used by the default constructor to identify an invalid object.

GM_NODE_INTERSECTION 

The intersection occurrs at one of the cell nodes.

GM_EDGE_INTERSECTION 

The intersection occurrs at one of the cell edges.

GM_FACE_INTERSECTION 

The intersection occurrs at one of the cell faces (3D only)

GM_INTERNAL_INTERSECTION 

The intersected segment starts or ends inside the cell.

GM_NUM_INTERSECTION_POINT_KIND 

The number of entries in this enum.