ViennaGrid - The Vienna Grid Library  2.1.0
Namespaces | Functions
viennagrid/algorithm/inclusion.hpp File Reference

Tests for inclusion of a point inside an element, segment, or mesh. More...

#include <limits>
#include "viennagrid/point.hpp"
#include "viennagrid/mesh/mesh.hpp"
#include "viennagrid/topology/simplex.hpp"
#include "viennagrid/algorithm/spanned_volume.hpp"
#include "viennagrid/algorithm/detail/numeric.hpp"

Go to the source code of this file.

Namespaces

namespace  viennagrid
 

The main ViennaGrid namespace. Most user functionality resides directly in this namespace rather than in sub-namespaces.


namespace  viennagrid::detail
 

Namespace for implementation details. Not intended to be used directly by a library user.


Functions

template<typename PointAccessorT , typename ElementT , typename CoordType , typename CoordinateSystem , typename NumericConfigT >
bool is_inside (PointAccessorT const accessor, ElementT const &element, spatial_point< CoordType, CoordinateSystem > const &point, NumericConfigT numeric_config)
 Determines if a given point is inside an element. Returns true if the point is inside the element, false otherwise.
template<typename ElementT , typename CoordType , typename CoordinateSystem , typename NumericConfigT >
bool is_inside (ElementT const &element, spatial_point< CoordType, CoordinateSystem > const &point, NumericConfigT numeric_config)
 Determines if a given point is inside an element. Returns true if the point is inside the element, false otherwise.
template<typename ElementT , typename CoordType , typename CoordinateSystem >
bool is_inside (ElementT const &element, spatial_point< CoordType, CoordinateSystem > const &point)
 Determines if a given point is inside an element. Returns true if the point is inside the element, false otherwise.
template<typename PointAccessorT , typename ElementT , typename CoordType , typename CoordinateSystem , typename NumericConfigT >
bool is_inside_impl (PointAccessorT const accessor, ElementT const &element, viennagrid::triangle_tag, spatial_point< CoordType, CoordinateSystem > const &p, NumericConfigT numeric_config)
 Is inside implementation for triangle in arbitrary dimensions.

Detailed Description

Tests for inclusion of a point inside an element, segment, or mesh.