AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
in_polyhedron.hpp File Reference

Consists of methods that test whether a given query point is inside a given polyhedron. More...

#include "axom/config.hpp"
#include "axom/primal/geometry/Point.hpp"
#include "axom/primal/geometry/Polygon.hpp"
#include "axom/primal/geometry/Polyhedron.hpp"
#include "axom/primal/operators/winding_number.hpp"
#include <cmath>

Namespaces

 axom
 
 axom::primal
 

Functions

template<typename T >
bool axom::primal::in_polyhedron (const Point< T, 3 > &query, const Polyhedron< T, 3 > &poly, bool includeBoundary=false, bool useNonzeroRule=true, double edge_tol=1e-8, double EPS=1e-8)
 Determines containment for a point in a polygon. More...
 

Detailed Description

Consists of methods that test whether a given query point is inside a given polyhedron.

Uses a winding number algorithm