Mundy: Multibody Nonlocal Dynamics Version of the Day
Loading...
Searching...
No Matches
SpherocylinderSegment.hpp File Reference

Classes

class  mundy::SpherocylinderSegment< Scalar, PointType >

Namespaces

namespace  mundy

Concepts

concept  mundy::ValidSpherocylinderSegmentType
 Concept to check if a type is a valid SpherocylinderSegment type.

Functions

Non-member functions for ValidSpherocylinderSegmentType objects
template<ValidSpherocylinderSegmentType T1, ValidSpherocylinderSegmentType T2>
constexpr bool mundy::is_close (const T1 &scs1, const T2 &scs2, typename T1::value_type tol=get_comparison_tolerance< typename T1::value_type, typename T2::value_type >())
 Element-wise approximate equality (within a tolerance).
template<ValidSpherocylinderSegmentType T1, ValidSpherocylinderSegmentType T2>
constexpr bool mundy::is_approx_close (const T1 &scs1, const T2 &scs2, typename T1::value_type tol=get_relaxed_comparison_tolerance< typename T1::value_type, typename T2::value_type >())
 Element-wise approximate equality (within a relaxed tolerance).
template<ValidSpherocylinderSegmentType SpherocylinderSegmentType>
std::ostream & mundy::operator<< (std::ostream &os, const SpherocylinderSegmentType &spherocylinder_segment)
 OStream operator.
Point visitation
template<ValidSpherocylinderSegmentType T, typename Functor>
void mundy::for_each_point (const T &scs, Functor &&f)
 Visit each geometric point of a SpherocylinderSegment (start, end).
template<ValidSpherocylinderSegmentType T, typename Functor>
void mundy::for_each_point_mutable (T &scs, Functor &&f)
 Visit and mutate each geometric point of a SpherocylinderSegment.

Variables

template<typename T>
constexpr bool mundy::is_spherocylinder_segment_v = is_spherocylinder_segment<T>::value