34 template<
class Scalar,
size_t D,
class DeltaRijFunc>
35 auto indicator(
const Ball<Scalar, D>& bi,
const Point<Scalar, D>& bj,
const DeltaRijFunc& deltarij)
39 template<
class Scalar,
size_t D,
class DeltaRijFunc>
40 auto indicator(
const Point<Scalar, D>& bi,
const Ball<Scalar, D>& bj,
const DeltaRijFunc& deltarij)
44 template<
class Scalar,
size_t D,
class DeltaRijFunc>
45 auto indicator(
const Ball<Scalar, D>& bi,
const Ball<Scalar, D>& bj,
const DeltaRijFunc& deltarij)
49 template<
class Scalar,
size_t D,
class DeltaRijFunc>
50 auto indicator(
const Ball<Scalar, D>& bi,
const HalfSpace<Scalar, D>& bj,
const DeltaRijFunc& deltarij)
54 template<
class Scalar,
size_t D,
class DeltaRijFunc>
55 auto indicator(
const HalfSpace<Scalar, D>& bi,
const Ball<Scalar, D>& bj,
const DeltaRijFunc& deltarij)
61 template<
typename Obj1,
typename Obj2>
62 auto intersects(
const Obj1& b1,
const Obj2& b2)
#define STATOR_AUTORETURN_BYVALUE(EXPR)
A convenience Macro for defining auto by-value return type functions.
auto try_simplify(const T &a) -> decltype(detail::try_simplify_imp< Config >(a, detail::select_overload
A method to apply simplification only if it is available.
C< 0 > Null
A symbolic representation of zero.
Fundamental typedef's and macros for stator.
Main header for the stator::symbolic library.
#define STATOR_AUTORETURN(EXPR)
A convenience Macro for defining auto return type functions.
auto 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.
The stator library namespace.
bool intersects(const Object1 &, const Object2 &)
Determine if two objects are intersecting.