stator
A math, geometry, and utility library
Namespaces | Functions
indicator.hpp File Reference
#include "stator/config.hpp"
#include "stator/geometry/sphere.hpp"
#include "stator/geometry/point.hpp"
#include "stator/geometry/plane.hpp"
#include "stator/symbolic/symbolic.hpp"

Go to the source code of this file.

Namespaces

 stator
 The stator library namespace.
 
 stator::geometry
 Geometric types and algorithms for calculating properties (e.g., intersection, volume).
 

Functions

template<class Scalar , size_t D, class DeltaRijFunc >
auto stator::geometry::indicator (const Ball< Scalar, D > &bi, const Point< Scalar, D > &bj, const DeltaRijFunc &deltarij) -> STATOR_AUTORETURN_BYVALUE(pow< 2 >(try_simplify(deltarij+bi.center() - bj.center())) - pow< 2 >(bi.radius()))
 Ball-Point indicator function. More...
 
template<class Scalar , size_t D, class DeltaRijFunc >
auto stator::geometry::indicator (const Point< Scalar, D > &bi, const Ball< Scalar, D > &bj, const DeltaRijFunc &deltarij) -> STATOR_AUTORETURN_BYVALUE(indicator(bj, bi, -deltarij))
 Point-Ball indicator function. More...
 
template<class Scalar , size_t D, class DeltaRijFunc >
auto stator::geometry::indicator (const Ball< Scalar, D > &bi, const Ball< Scalar, D > &bj, const DeltaRijFunc &deltarij) -> STATOR_AUTORETURN_BYVALUE(pow< 2 >(try_simplify(deltarij+bi.center() - bj.center())) - pow< 2 >(bi.radius()+bj.radius()))
 Ball-Ball indicator function. More...
 
template<class Scalar , size_t D, class DeltaRijFunc >
auto stator::geometry::indicator (const Ball< Scalar, D > &bi, const HalfSpace< Scalar, D > &bj, const DeltaRijFunc &deltarij) -> STATOR_AUTORETURN_BYVALUE(try_simplify(dot(bj.normal(), deltarij+bi.center() - bj.center()) - bi.radius()))
 Ball-HalfSpace indicator function. More...
 
template<class Scalar , size_t D, class DeltaRijFunc >
auto stator::geometry::indicator (const HalfSpace< Scalar, D > &bi, const Ball< Scalar, D > &bj, const DeltaRijFunc &deltarij) -> STATOR_AUTORETURN_BYVALUE(indicator(bj, bi, -deltarij))
 HalfSpace-Ball indicator function. More...