Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
IntxUtils.cpp File Reference
#include <cmath>
#include <cassert>
#include <iostream>
#include "moab/IntxMesh/IntxUtils.hpp"
#include "moab/MergeMesh.hpp"
#include "moab/ReadUtilIface.hpp"
#include "MBTagConventions.hpp"
#include <iomanip>
#include <queue>
#include <map>
+ Include dependency graph for IntxUtils.cpp:

Go to the source code of this file.

Classes

struct  moab::angleAndIndex
 

Namespaces

 moab
 Class representing axis-aligned bounding box.
 

Macros

#define CHECKNEGATIVEAREA
 
#define CORRTAGNAME   "__correspondent"
 
#define MAXEDGES   10
 

Functions

bool moab::angleCompare (angleAndIndex lhs, angleAndIndex rhs)
 
static bool moab::verify (CartVect a, CartVect b, CartVect c, CartVect d, double x, double y, double z)
 

Macro Definition Documentation

◆ CHECKNEGATIVEAREA

#define CHECKNEGATIVEAREA

Definition at line 22 of file IntxUtils.cpp.

◆ CORRTAGNAME

#define CORRTAGNAME   "__correspondent"

This code defines several utility functions for computing edge intersections and performing geometric operations.

  • borderPointsOfXinY2: Computes the border points of a set of points X inside another set of points Y.
  • SortAndRemoveDoubles2: Sorts a set of points P according to their angles and removes duplicate points.
  • EdgeIntersections2: Computes the intersections between the edges of two sets of points blue and red.
  • EdgeIntxRllCs: Computes the intersections between the edges of a set of points blue and a set of points red on a specific plane.

The code also defines some helper structs and functions used by these utility functions.

Definition at line 52 of file IntxUtils.cpp.

◆ MAXEDGES

#define MAXEDGES   10

Definition at line 53 of file IntxUtils.cpp.