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

Classes

struct  mundy::is_finite< APoint< Scalar, Accessor > >
 APoint (and therefore Point) represents a finite position in space. More...
struct  mundy::is_finite< const APoint< Scalar, Accessor > >

Namespaces

namespace  mundy

Concepts

concept  mundy::ValidPointType
 Concept to check if a type has the necessary properties to be a valid Point type As a predicate to creating a new point type, specialize is_point for the new type.

Typedefs

template<typename Scalar, ValidAccessor< Scalar > Accessor = Array<Scalar, 3>>
using mundy::APoint = AVector3<Scalar, Accessor>
 A point in 3D space.
template<typename Scalar>
using mundy::Point = APoint<Scalar>

Functions

Point visitation
template<ValidPointType PointT, typename Functor>
void mundy::for_each_point (const PointT &pt, Functor &&f)
 Visit each geometric point of a Point (the point itself).
template<ValidPointType PointT, typename Functor>
void mundy::for_each_point_mutable (PointT &pt, Functor &&f)
 Visit and mutate each geometric point of a Point.

Variables

template<typename T>
constexpr bool mundy::is_point_v = is_point<T>::value