|
Mundy: Multibody Nonlocal Dynamics Version of the Day
|
Point, line, sphere, ring, ellipsoid, and related primitive geometry types. More...
Concepts | |
| concept | mundy::ValidAABBType |
| Concept to determine if a type is a valid AABB type. | |
| concept | mundy::ValidCircle3DType |
| Concept to determine if a type is a valid Circle3D type. | |
| concept | mundy::ValidEllipsoidType |
| Concept to check if a type is an Ellipsoid. | |
| concept | mundy::ValidLineType |
| Concept to check if a type is a valid Line type. | |
| concept | mundy::ValidLineSegmentType |
| Concept to check if a type is a valid LineSegment type. | |
| concept | mundy::ValidOBBType |
| 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. | |
| concept | mundy::ValidRingType |
| Concept to check if a type is a valid Ring type. | |
| concept | mundy::ValidSphereType |
| Concept to check if a type is a valid Sphere type. | |
| concept | mundy::ValidSpherocylinderType |
| Concept to check if a type is a valid Spherocylinder type. | |
| concept | mundy::ValidSpherocylinderSegmentType |
| Concept to check if a type is a valid SpherocylinderSegment type. | |
| concept | mundy::FinitePrimitive |
| Concept: satisfied by primitives with finite spatial extent (is_finite == true). | |
| concept | mundy::ValidVSegmentType |
| Concept to check if a type is a valid VSegment type. | |
Classes | |
| class | mundy::AABB< Scalar, MinPointType, MaxPointType > |
| class | mundy::Circle3D< Scalar, PointType, QuaternionType > |
| class | mundy::Ellipsoid< Scalar, PointType, OrientationType > |
| class | mundy::Line< Scalar, PointType > |
| class | mundy::LineSegment< Scalar, StartPointType, EndPointType > |
| class | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType > |
| Oriented Bounding Box: a center, a unit-quaternion orientation, and per-axis half-extents. More... | |
| struct | mundy::is_obb< T > |
| class | mundy::Ring< Scalar, PointType, QuaternionType > |
| class | mundy::Sphere< Scalar, PointType > |
| class | mundy::Spherocylinder< Scalar, PointType, QuaternionType > |
| class | mundy::SpherocylinderSegment< Scalar, PointType > |
| struct | mundy::is_finite< T, typename > |
| Trait: does a primitive type have finite spatial extent? More... | |
| struct | mundy::is_finite< T, std::void_t< decltype(std::remove_cv_t< T >::is_finite)> > |
| class | mundy::VSegment< Scalar, PointType > |
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> |
Variables | |
| template<typename T> | |
| constexpr bool | mundy::is_aabb_v = is_aabb<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_circle3d_v = is_circle3d<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_ellipsoid_v = is_ellipsoid<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_line_v = is_line<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_line_segment_v = is_line_segment<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_obb_v = is_obb<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_point_v = is_point<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_ring_v = is_ring<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_sphere_v = is_sphere<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_spherocylinder_v = is_spherocylinder<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_spherocylinder_segment_v = is_spherocylinder_segment<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_finite_v = is_finite<T>::value |
| template<typename T> | |
| constexpr bool | mundy::is_v_segment_v = is_v_segment<T>::value |
Type aliases | |
| using | mundy::AABB< Scalar, MinPointType, MaxPointType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::AABB< Scalar, MinPointType, MaxPointType >::min_point_t = MinPointType |
| Our point type for the min corner. | |
| using | mundy::AABB< Scalar, MinPointType, MaxPointType >::max_point_t = MaxPointType |
| Our point type for the max corner. | |
| static constexpr bool | mundy::AABB< Scalar, MinPointType, MaxPointType >::is_finite = true |
Type aliases | |
| using | mundy::Circle3D< Scalar, PointType, QuaternionType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::Circle3D< Scalar, PointType, QuaternionType >::point_t = PointType |
| Our point type. | |
| using | mundy::Circle3D< Scalar, PointType, QuaternionType >::orientation_t = QuaternionType |
| Our orientation type. | |
| static constexpr bool | mundy::Circle3D< Scalar, PointType, QuaternionType >::is_finite = true |
Type aliases | |
| using | mundy::Ellipsoid< Scalar, PointType, OrientationType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::Ellipsoid< Scalar, PointType, OrientationType >::point_t = PointType |
| Our point type. | |
| using | mundy::Ellipsoid< Scalar, PointType, OrientationType >::orientation_t = OrientationType |
| Our quaternion type. | |
| static constexpr bool | mundy::Ellipsoid< Scalar, PointType, OrientationType >::is_finite = true |
Type aliases | |
| using | mundy::Line< Scalar, PointType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::Line< Scalar, PointType >::point_t = PointType |
| Our point type. | |
| using | mundy::Line< Scalar, PointType >::vector_t = PointType |
| Our vector type. | |
| static constexpr bool | mundy::Line< Scalar, PointType >::is_finite = false |
Type aliases | |
| using | mundy::LineSegment< Scalar, StartPointType, EndPointType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::LineSegment< Scalar, StartPointType, EndPointType >::start_point_t = StartPointType |
| Our point type for the start point. | |
| using | mundy::LineSegment< Scalar, StartPointType, EndPointType >::end_point_t = EndPointType |
| Our point type for the end point. | |
| static constexpr bool | mundy::LineSegment< Scalar, StartPointType, EndPointType >::is_finite = true |
Type aliases | |
| using | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::value_type = Scalar |
| using | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::point_t = PointType |
| using | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::orientation_t = QuaternionType |
| using | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::half_extents_t = HalfExtentsType |
| static constexpr bool | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::is_finite = true |
Type aliases | |
| using | mundy::Ring< Scalar, PointType, QuaternionType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::Ring< Scalar, PointType, QuaternionType >::point_t = PointType |
| Our point type. | |
| using | mundy::Ring< Scalar, PointType, QuaternionType >::orientation_t = QuaternionType |
| Our orientation type. | |
| static constexpr bool | mundy::Ring< Scalar, PointType, QuaternionType >::is_finite = true |
Type aliases | |
| using | mundy::Sphere< Scalar, PointType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::Sphere< Scalar, PointType >::point_t = PointType |
| Our point type. | |
| static constexpr bool | mundy::Sphere< Scalar, PointType >::is_finite = true |
Type aliases | |
| using | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::point_t = PointType |
| Our point type. | |
| using | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::orientation_t = QuaternionType |
| Our orientation type. | |
| static constexpr bool | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::is_finite = true |
Type aliases | |
| using | mundy::SpherocylinderSegment< Scalar, PointType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::SpherocylinderSegment< Scalar, PointType >::point_t = PointType |
| Our point type. | |
| static constexpr bool | mundy::SpherocylinderSegment< Scalar, PointType >::is_finite = true |
Type aliases | |
| using | mundy::VSegment< Scalar, PointType >::value_type = Scalar |
| Our scalar type. | |
| using | mundy::VSegment< Scalar, PointType >::point_t = PointType |
| Our point type. | |
| static constexpr bool | mundy::VSegment< Scalar, PointType >::is_finite = true |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::Circle3D< Scalar, PointType, QuaternionType >::set_center (const OtherPointType ¢er) |
| Set the center. | |
| constexpr void | mundy::Circle3D< Scalar, PointType, QuaternionType >::set_center (const value_type &x, const value_type &y, const value_type &z) |
| Set the center. | |
| constexpr void | mundy::Circle3D< Scalar, PointType, QuaternionType >::set_orientation (const orientation_t &orientation) |
| Set the orientation. | |
| constexpr void | mundy::Circle3D< Scalar, PointType, QuaternionType >::set_orientation (const value_type &qw, const value_type &qx, const value_type &qy, const value_type &qz) |
| Set the orientation. | |
| constexpr void | mundy::Circle3D< Scalar, PointType, QuaternionType >::set_radius (const value_type &radius) |
| Set the major radius. | |
Setters | |
| constexpr void | mundy::Ellipsoid< Scalar, PointType, OrientationType >::set_center (const point_t ¢er) |
| Set the center. | |
| constexpr void | mundy::Ellipsoid< Scalar, PointType, OrientationType >::set_center (const value_type &x, const value_type &y, const value_type &z) |
| Set the center. | |
| constexpr void | mundy::Ellipsoid< Scalar, PointType, OrientationType >::set_orientation (const orientation_t &orientation) |
| Set the orientation. | |
| constexpr void | mundy::Ellipsoid< Scalar, PointType, OrientationType >::set_orientation (const value_type &qw, const value_type &qx, const value_type &qy, const value_type &qz) |
| Set the orientation. | |
| constexpr void | mundy::Ellipsoid< Scalar, PointType, OrientationType >::set_radii (const point_t &radii) |
| Set the radii. | |
| constexpr void | mundy::Ellipsoid< Scalar, PointType, OrientationType >::set_radii (const value_type &radius_1, const value_type &radius_2, const value_type &radius_3) |
| Set the radii. | |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::Line< Scalar, PointType >::set_center (const OtherPointType ¢er) |
| Set the center. | |
| constexpr void | mundy::Line< Scalar, PointType >::set_center (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the center. | |
| template<ValidVectorType OtherVectorType> | |
| constexpr void | mundy::Line< Scalar, PointType >::set_direction (const OtherVectorType &direction) |
| Set the direction. | |
| constexpr void | mundy::Line< Scalar, PointType >::set_direction (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the direction. | |
Friends <3 | |
| template<typename, ValidPointType, ValidPointType> | |
| class | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment |
Setters | |
| template<typename, ValidPointType, ValidQuaternionType, ValidVector3Type> | |
| class | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::OBB |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::set_center (const OtherPointType &c) |
| template<ValidQuaternionType OtherQuatType> | |
| constexpr void | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::set_orientation (const OtherQuatType &q) |
| template<ValidVector3Type OtherVecType> | |
| constexpr void | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::set_half_extents (const OtherVecType &he) |
| constexpr void | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::set_half_extents (const value_type &hx, const value_type &hy, const value_type &hz) |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::Ring< Scalar, PointType, QuaternionType >::set_center (const OtherPointType ¢er) |
| Set the center. | |
| constexpr void | mundy::Ring< Scalar, PointType, QuaternionType >::set_center (const value_type &x, const value_type &y, const value_type &z) |
| Set the center. | |
| constexpr void | mundy::Ring< Scalar, PointType, QuaternionType >::set_orientation (const orientation_t &orientation) |
| Set the orientation. | |
| constexpr void | mundy::Ring< Scalar, PointType, QuaternionType >::set_orientation (const value_type &qw, const value_type &qx, const value_type &qy, const value_type &qz) |
| Set the orientation. | |
| constexpr void | mundy::Ring< Scalar, PointType, QuaternionType >::set_major_radius (const value_type &major_radius) |
| Set the major radius. | |
| constexpr void | mundy::Ring< Scalar, PointType, QuaternionType >::set_minor_radius (const value_type &minor_radius) |
| Set the minor radius. | |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::Sphere< Scalar, PointType >::set_center (const OtherPointType ¢er) |
| Set the center. | |
| constexpr void | mundy::Sphere< Scalar, PointType >::set_center (const value_type &x, const value_type &y, const value_type &z) |
| Set the center. | |
| constexpr void | mundy::Sphere< Scalar, PointType >::set_radius (const value_type &radius) |
| Set the radius. | |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::set_center (const OtherPointType ¢er) |
| Set the center. | |
| constexpr void | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::set_center (const value_type &x, const value_type &y, const value_type &z) |
| Set the center. | |
| constexpr void | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::set_orientation (const orientation_t &orientation) |
| Set the orientation. | |
| constexpr void | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::set_orientation (const value_type &qw, const value_type &qx, const value_type &qy, const value_type &qz) |
| Set the orientation. | |
| constexpr void | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::set_radius (const value_type &radius) |
| Set the radius. | |
| constexpr void | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::set_length (const value_type &length) |
| Set the length. | |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::SpherocylinderSegment< Scalar, PointType >::set_start (const OtherPointType &start) |
| Set the start point. | |
| constexpr void | mundy::SpherocylinderSegment< Scalar, PointType >::set_start (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the start point. | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::SpherocylinderSegment< Scalar, PointType >::set_end (const OtherPointType &end) |
| Set the end point. | |
| constexpr void | mundy::SpherocylinderSegment< Scalar, PointType >::set_end (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the end point. | |
| constexpr void | mundy::SpherocylinderSegment< Scalar, PointType >::set_radius (const value_type &radius) |
| Set the radius. | |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::VSegment< Scalar, PointType >::set_start (const OtherPointType &start) |
| Set the start point. | |
| constexpr void | mundy::VSegment< Scalar, PointType >::set_start (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the start point. | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::VSegment< Scalar, PointType >::set_middle (const OtherPointType &middle) |
| Set the middle point. | |
| constexpr void | mundy::VSegment< Scalar, PointType >::set_middle (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the middle point. | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::VSegment< Scalar, PointType >::set_end (const OtherPointType &end) |
| Set the end point. | |
| constexpr void | mundy::VSegment< Scalar, PointType >::set_end (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the end point. | |
Friends <3 | |
| template<typename, ValidPointType, ValidPointType> | |
| class | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB |
Constructors and destructor | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB () |
| Default constructor (enabled when both points are default constructible). Initializes the aabb inside-out so nothing can be inside this aabb. | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB (const min_point_t &min_corner, const max_point_t &max_corner) |
| Constructor to directly set the min and max corners. | |
| template<ValidPointType OtherPointType1, ValidPointType OtherPointType2> | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB (const OtherPointType1 &min_corner, const OtherPointType2 &max_corner) |
| Constructor to directly set the min and max corners. | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB (value_type x_min, value_type y_min, value_type z_min, value_type x_max, value_type y_max, value_type z_max) |
| Constructor to directly set the min and max corners. | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::~AABB ()=default |
| Destructor. | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB (const AABB< value_type, min_point_t, max_point_t > &other) |
| Deep copy constructor. | |
| template<typename OtherAABBType> | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB (const OtherAABBType &other) |
| Deep copy constructor. | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB (AABB< value_type, min_point_t, max_point_t > &&other) |
| Deep move constructor. | |
| template<typename OtherAABBType> | |
| constexpr | mundy::AABB< Scalar, MinPointType, MaxPointType >::AABB (OtherAABBType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr AABB< value_type, min_point_t, max_point_t > & | mundy::AABB< Scalar, MinPointType, MaxPointType >::operator= (const AABB< value_type, min_point_t, max_point_t > &other) |
| Copy assignment operator. | |
| template<typename OtherAABBType> | |
| constexpr AABB< value_type, min_point_t, max_point_t > & | mundy::AABB< Scalar, MinPointType, MaxPointType >::operator= (const OtherAABBType &other) |
| Copy assignment operator. | |
| constexpr AABB< value_type, min_point_t, max_point_t > & | mundy::AABB< Scalar, MinPointType, MaxPointType >::operator= (AABB< value_type, min_point_t, max_point_t > &&other) |
| Move assignment operator. | |
| template<typename OtherAABBType> | |
| constexpr AABB< value_type, min_point_t, max_point_t > & | mundy::AABB< Scalar, MinPointType, MaxPointType >::operator= (OtherAABBType &&other) |
| Move assignment operator. | |
Casting | |
| template<typename U> | |
| constexpr auto | mundy::AABB< Scalar, MinPointType, MaxPointType >::cast () const |
| Cast (and copy) the AABB to a different scalar type. | |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::AABB< Scalar, MinPointType, MaxPointType >::set_min_corner (const OtherPointType &min_corner) |
| Set the minimum corner. | |
| constexpr void | mundy::AABB< Scalar, MinPointType, MaxPointType >::set_min_corner (const value_type &x, const value_type &y, const value_type &z) |
| Set the minimum corner. | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::AABB< Scalar, MinPointType, MaxPointType >::set_max_corner (const OtherPointType &max_corner) |
| Set the maximum corner. | |
| constexpr void | mundy::AABB< Scalar, MinPointType, MaxPointType >::set_max_corner (const value_type &x, const value_type &y, const value_type &z) |
| Set the maximum corner. | |
Non-member functions for ValidAABBType objects | |
| template<ValidAABBType T1, ValidAABBType T2> | |
| constexpr bool | mundy::is_close (const T1 &a1, const T2 &a2, typename T1::value_type tol=get_comparison_tolerance< typename T1::value_type, typename T2::value_type >()) |
| Element-wise approximate equality (within a tolerance). | |
| template<ValidAABBType T1, ValidAABBType T2> | |
| constexpr bool | mundy::is_approx_close (const T1 &a1, const T2 &a2, 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<ValidAABBType AABBType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const AABBType &aabb) |
| template<ValidAABBType AABBType1, ValidAABBType AABBType2> | |
| constexpr bool | mundy::intersects (const AABBType1 &aabb1, const AABBType2 &aabb2) |
| Check if two AABBs intersect. | |
Point visitation | |
| template<ValidAABBType T, typename Functor> | |
| void | mundy::for_each_point (const T &aabb, Functor &&f) |
| Visit each geometric point of an AABB (min_corner, max_corner). | |
| template<ValidAABBType T, typename Functor> | |
| void | mundy::for_each_point_mutable (T &aabb, Functor &&f) |
| Visit and mutate each geometric point of an AABB. | |
| 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. | |
Constructors and destructor | |
| constexpr | mundy::Circle3D< Scalar, PointType, QuaternionType >::Circle3D () |
| Default constructor. Initializes as invalid. | |
| constexpr | mundy::Circle3D< Scalar, PointType, QuaternionType >::Circle3D (const point_t ¢er, const orientation_t &orientation, const value_type &radius) |
| Constructor to initialize the circle3d. | |
| template<ValidPointType OtherPointType, ValidQuaternionType OtherQuaternionType> | |
| constexpr | mundy::Circle3D< Scalar, PointType, QuaternionType >::Circle3D (const OtherPointType ¢er, const OtherQuaternionType &orientation, const value_type &radius) |
| Constructor to initialize the circle3d. | |
| mundy::Circle3D< Scalar, PointType, QuaternionType >::~Circle3D ()=default | |
| Destructor. | |
| constexpr | mundy::Circle3D< Scalar, PointType, QuaternionType >::Circle3D (const Circle3D< value_type, point_t, orientation_t > &other) |
| Deep copy constructor. | |
| template<typename OtherCircle3DType> | |
| constexpr | mundy::Circle3D< Scalar, PointType, QuaternionType >::Circle3D (const OtherCircle3DType &other) |
| Deep copy constructor with different circle3d type. | |
| constexpr | mundy::Circle3D< Scalar, PointType, QuaternionType >::Circle3D (Circle3D< value_type, point_t, orientation_t > &&other) |
| Deep move constructor. | |
| template<typename OtherCircle3DType> | |
| constexpr | mundy::Circle3D< Scalar, PointType, QuaternionType >::Circle3D (OtherCircle3DType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr Circle3D< value_type, point_t, orientation_t > & | mundy::Circle3D< Scalar, PointType, QuaternionType >::operator= (const Circle3D< value_type, point_t, orientation_t > &other) |
| Copy assignment operator. | |
| template<typename OtherCircle3DType> | |
| constexpr Circle3D< value_type, point_t, orientation_t > & | mundy::Circle3D< Scalar, PointType, QuaternionType >::operator= (const OtherCircle3DType &other) |
| Copy assignment operator. | |
| constexpr Circle3D< value_type, point_t, orientation_t > & | mundy::Circle3D< Scalar, PointType, QuaternionType >::operator= (Circle3D< value_type, point_t, orientation_t > &&other) |
| Move assignment operator. | |
| template<typename OtherCircle3DType> | |
| constexpr Circle3D< value_type, point_t, orientation_t > & | mundy::Circle3D< Scalar, PointType, QuaternionType >::operator= (OtherCircle3DType &&other) |
| Move assignment operator. | |
Accessors | |
| constexpr const point_t & | mundy::Circle3D< Scalar, PointType, QuaternionType >::center () const |
| constexpr point_t & | mundy::Circle3D< Scalar, PointType, QuaternionType >::center () |
| constexpr const orientation_t & | mundy::Circle3D< Scalar, PointType, QuaternionType >::orientation () const |
| constexpr orientation_t & | mundy::Circle3D< Scalar, PointType, QuaternionType >::orientation () |
| constexpr const value_type & | mundy::Circle3D< Scalar, PointType, QuaternionType >::radius () const |
| constexpr value_type & | mundy::Circle3D< Scalar, PointType, QuaternionType >::radius () |
Non-member functions for ValidCircle3DType objects | |
| template<ValidCircle3DType Circle3DType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const Circle3DType &circle3d) |
| OStream operator. | |
Constructors and destructor | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid () |
| Default constructor. Default initializes center/orientation and sets axis radii to invalid values. | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (const point_t ¢er, const value_type &radius_1, const value_type &radius_2, const value_type &radius_3) |
| Constructor to initialize the center and radii. | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (const value_type &x, const value_type &y, const value_type &z, const value_type &qw, const value_type &qx, const value_type &qy, const value_type &qz, const value_type &radius_1, const value_type &radius_2, const value_type &radius_3) |
| Constructor to initialize the center and axis radii. | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (const point_t ¢er, const orientation_t &orientation, const point_t &radii) |
| Constructor to initialize the center and axis radii. | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (const point_t ¢er, const orientation_t &orientation, const value_type &radius_1, const value_type &radius_2, const value_type &radius_3) |
| Constructor to initialize the center and axis radii. | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::~Ellipsoid ()=default |
| Destructor. | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (const Ellipsoid< value_type, point_t, orientation_t > &other) |
| Deep copy constructor. | |
| template<typename OtherEllipsoidType> | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (const OtherEllipsoidType &other) |
| Deep copy constructor with different ellipsoid type. | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (Ellipsoid< value_type, point_t, orientation_t > &&other) |
| Deep move constructor. | |
| template<typename OtherEllipsoidType> | |
| constexpr | mundy::Ellipsoid< Scalar, PointType, OrientationType >::Ellipsoid (OtherEllipsoidType &&other) |
| Deep move constructor with different ellipsoid type. | |
Operators | |
| constexpr Ellipsoid< value_type, point_t, orientation_t > & | mundy::Ellipsoid< Scalar, PointType, OrientationType >::operator= (const Ellipsoid< value_type, point_t, orientation_t > &other) |
| Copy assignment operator. | |
| template<typename OtherEllipsoidType> | |
| constexpr Ellipsoid< value_type, point_t, orientation_t > & | mundy::Ellipsoid< Scalar, PointType, OrientationType >::operator= (const OtherEllipsoidType &other) |
| Copy assignment operator with different ellipsoid type. | |
| constexpr Ellipsoid< value_type, point_t, orientation_t > & | mundy::Ellipsoid< Scalar, PointType, OrientationType >::operator= (Ellipsoid< value_type, point_t, orientation_t > &&other) |
| Move assignment operator. | |
| template<typename OtherEllipsoidType> | |
| constexpr Ellipsoid< value_type, point_t, orientation_t > & | mundy::Ellipsoid< Scalar, PointType, OrientationType >::operator= (OtherEllipsoidType &&other) |
| Move assignment operator with different ellipsoid type. | |
Non-member functions for ValidSphereType objects | |
| template<ValidEllipsoidType EllipsoidType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const EllipsoidType &ellipsoid) |
| OStream operator. | |
| template<ValidEllipsoidType EllipsoidType> | |
| constexpr Point< typename EllipsoidType::value_type > | mundy::map_body_frame_normal_to_ellipsoid (const Vector3< typename EllipsoidType::value_type > &body_frame_nhat, const EllipsoidType &ellipsoid) |
| template<typename Scalar, ValidAccessor< Scalar > Accessor1, ValidEllipsoidType EllipsoidType> | |
| constexpr Vector3< Scalar > | mundy::map_surface_normal_to_foot_point_on_ellipsoid (const AVector3< Scalar, Accessor1 > &lab_frame_ellipsoid_nhat, const EllipsoidType &ellipsoid) |
| template<ValidSphereType SphereType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const SphereType &sphere) |
| OStream operator. | |
Constructors and destructor | |
| constexpr | mundy::Line< Scalar, PointType >::Line () |
| Default constructor for owning Lines. Default initialize the. | |
| constexpr | mundy::Line< Scalar, PointType >::Line (const point_t ¢er, const vector_t &direction) |
| Constructor to initialize the center and radius. | |
| template<ValidPointType OtherPointType, ValidVectorType OtherVectorType> | |
| constexpr | mundy::Line< Scalar, PointType >::Line (const OtherPointType ¢er, const OtherVectorType &direction) |
| Constructor to initialize the center and radius. | |
| constexpr | mundy::Line< Scalar, PointType >::~Line ()=default |
| Destructor. | |
| constexpr | mundy::Line< Scalar, PointType >::Line (const Line< value_type, point_t > &other) |
| Deep copy constructor. | |
| template<typename OtherLineType> | |
| constexpr | mundy::Line< Scalar, PointType >::Line (const OtherLineType &other) |
| Deep copy constructor. | |
| constexpr | mundy::Line< Scalar, PointType >::Line (Line< value_type, point_t > &&other) |
| Deep move constructor. | |
| template<typename OtherLineType> | |
| constexpr | mundy::Line< Scalar, PointType >::Line (OtherLineType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr Line< value_type, point_t > & | mundy::Line< Scalar, PointType >::operator= (const Line< value_type, point_t > &other) |
| Copy assignment operator. | |
| template<typename OtherLineType> | |
| constexpr Line< value_type, point_t > & | mundy::Line< Scalar, PointType >::operator= (const OtherLineType &other) |
| Copy assignment operator. | |
| constexpr Line< value_type, point_t > & | mundy::Line< Scalar, PointType >::operator= (Line< value_type, point_t > &&other) |
| Move assignment operator. | |
| template<typename OtherLineType> | |
| constexpr Line< value_type, point_t > & | mundy::Line< Scalar, PointType >::operator= (OtherLineType &&other) |
| Move assignment operator. | |
Accessors | |
| constexpr const point_t & | mundy::Line< Scalar, PointType >::center () const |
| Accessor for the center. | |
| constexpr point_t & | mundy::Line< Scalar, PointType >::center () |
| Accessor for the center. | |
| constexpr const vector_t & | mundy::Line< Scalar, PointType >::direction () const |
| Accessor for the direction. | |
| constexpr vector_t & | mundy::Line< Scalar, PointType >::direction () |
| Accessor for the direction. | |
Non-member functions for ValidLineType objects | |
| template<ValidLineType LineType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const LineType &line) |
| Output stream operator. | |
Constructors and destructor | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment () |
| Default constructor for owning LineSegments. Default initialize the start and end points. | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment (const start_point_t &start, const end_point_t &end) |
| Constructor to initialize the start and end points. | |
| template<ValidPointType OtherStartPointType, ValidPointType OtherEndPointType> | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment (const OtherStartPointType &start, const OtherEndPointType &end) |
| Constructor to initialize the start and end points. | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::~LineSegment ()=default |
| Destructor. | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment (const LineSegment< value_type, start_point_t, end_point_t > &other) |
| Deep copy constructor. | |
| template<typename OtherLineSegmentType> | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment (const OtherLineSegmentType &other) |
| Deep copy constructor. | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment (LineSegment< value_type, start_point_t, end_point_t > &&other) |
| Deep move constructor. | |
| template<typename OtherLineSegmentType> | |
| constexpr | mundy::LineSegment< Scalar, StartPointType, EndPointType >::LineSegment (OtherLineSegmentType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr LineSegment< value_type, start_point_t, end_point_t > & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::operator= (const LineSegment< value_type, start_point_t, end_point_t > &other) |
| Copy assignment operator. | |
| template<typename OtherLineSegmentType> | |
| constexpr LineSegment< value_type, start_point_t, end_point_t > & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::operator= (const OtherLineSegmentType &other) |
| Copy assignment operator. | |
| constexpr LineSegment< value_type, start_point_t, end_point_t > & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::operator= (LineSegment< value_type, start_point_t, end_point_t > &&other) |
| Move assignment operator. | |
| template<typename OtherLineSegmentType> | |
| constexpr LineSegment< value_type, start_point_t, end_point_t > & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::operator= (OtherLineSegmentType &&other) |
| Move assignment operator. | |
Accessors | |
| constexpr const start_point_t & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::start () const |
| Accessor for the start. | |
| constexpr start_point_t & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::start () |
| Accessor for the start. | |
| constexpr const end_point_t & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::end () const |
| Accessor for the end. | |
| constexpr end_point_t & | mundy::LineSegment< Scalar, StartPointType, EndPointType >::end () |
| Accessor for the end. | |
Setters | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::LineSegment< Scalar, StartPointType, EndPointType >::set_start (const OtherPointType &start) |
| Set the start point. | |
| constexpr void | mundy::LineSegment< Scalar, StartPointType, EndPointType >::set_start (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the start point. | |
| template<ValidPointType OtherPointType> | |
| constexpr void | mundy::LineSegment< Scalar, StartPointType, EndPointType >::set_end (const OtherPointType &end) |
| Set the end point. | |
| constexpr void | mundy::LineSegment< Scalar, StartPointType, EndPointType >::set_end (const Scalar &x, const Scalar &y, const Scalar &z) |
| Set the end point. | |
Non-member functions for ValidLineSegmentType objects | |
| template<ValidLineSegmentType LineSegmentType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const LineSegmentType &line_segment) |
| OStream operator. | |
Constructors and destructor | |
| constexpr | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::OBB () |
| Default constructor. Center and half-extents are zero-initialized; orientation is the identity quaternion; half-extents are set to the invalid sentinel -1. | |
| constexpr | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::OBB (const point_t ¢er, const value_type &half_extent) |
| Construct from a center, identity orientation, and uniform half-extent. | |
| constexpr | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::OBB (const point_t ¢er, const orientation_t &orientation, const half_extents_t &half_extents) |
| Construct from a center, orientation, and per-axis half-extents. | |
| constexpr | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::OBB (const point_t ¢er, const orientation_t &orientation, const value_type &hx, const value_type &hy, const value_type &hz) |
| Construct from a center, orientation, and per-axis half-extents given as scalars. | |
| constexpr | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::~OBB ()=default |
| Destructor. | |
| constexpr | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::OBB (const OBB &other) |
| Copy constructor. | |
| constexpr | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::OBB (OBB &&other) |
| Move constructor. | |
Assignment operators | |
| constexpr OBB & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::operator= (const OBB &other) |
| constexpr OBB & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::operator= (OBB &&other) |
Accessors | |
| constexpr const point_t & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::center () const |
| constexpr point_t & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::center () |
| constexpr const orientation_t & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::orientation () const |
| constexpr orientation_t & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::orientation () |
| constexpr const half_extents_t & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::half_extents () const |
| constexpr half_extents_t & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::half_extents () |
| constexpr const value_type & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::half_extent (int i) const |
| constexpr value_type & | mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::half_extent (int i) |
Intersection test | |
| template<ValidOBBType OBBType1, ValidOBBType OBBType2> | |
| constexpr bool | mundy::intersects (const OBBType1 &a, const OBBType2 &b) |
| Test whether two OBBs overlap using the Separating Axis Theorem (SAT). | |
Stream output | |
| template<ValidOBBType T> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const T &obb) |
Constructors and destructor | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::Ring () |
| Default constructor for owning Rings. Default initializes the center and sets the radius to an invalid value of -1. | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::Ring (const point_t ¢er, const orientation_t &orientation, const value_type &major_radius, const value_type &minor_radius) |
| Constructor to initialize the ring. | |
| template<ValidPointType OtherPointType, ValidQuaternionType OtherQuaternionType> | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::Ring (const OtherPointType ¢er, const OtherQuaternionType &orientation, const value_type &major_radius, const value_type &minor_radius) |
| Constructor to initialize the ring. | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::~Ring ()=default |
| Destructor. | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::Ring (const Ring< value_type, point_t, orientation_t > &other) |
| Deep copy constructor. | |
| template<typename OtherRingType> | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::Ring (const OtherRingType &other) |
| Deep copy constructor with different ring type. | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::Ring (Ring< value_type, point_t, orientation_t > &&other) |
| Deep move constructor. | |
| template<typename OtherRingType> | |
| constexpr | mundy::Ring< Scalar, PointType, QuaternionType >::Ring (OtherRingType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr Ring< value_type, point_t, orientation_t > & | mundy::Ring< Scalar, PointType, QuaternionType >::operator= (const Ring< value_type, point_t, orientation_t > &other) |
| Copy assignment operator. | |
| template<typename OtherRingType> | |
| constexpr Ring< value_type, point_t, orientation_t > & | mundy::Ring< Scalar, PointType, QuaternionType >::operator= (const OtherRingType &other) |
| Copy assignment operator. | |
| constexpr Ring< value_type, point_t, orientation_t > & | mundy::Ring< Scalar, PointType, QuaternionType >::operator= (Ring< value_type, point_t, orientation_t > &&other) |
| Move assignment operator. | |
| template<typename OtherRingType> | |
| constexpr Ring< value_type, point_t, orientation_t > & | mundy::Ring< Scalar, PointType, QuaternionType >::operator= (OtherRingType &&other) |
| Move assignment operator. | |
Non-member functions for ValidRingType objects | |
| template<ValidRingType RingType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const RingType &ring) |
| OStream operator. | |
Constructors and destructor | |
| constexpr | mundy::Sphere< Scalar, PointType >::Sphere () |
| Default constructor for owning Spheres. Default initializes the center and sets the radius to an invalid value of -1. | |
| constexpr | mundy::Sphere< Scalar, PointType >::Sphere (const point_t ¢er, const value_type &radius) |
| Constructor to initialize the center and radius. | |
| template<ValidPointType OtherPointType> | |
| constexpr | mundy::Sphere< Scalar, PointType >::Sphere (const OtherPointType ¢er, const value_type &radius) |
| Constructor to initialize the center and radius. | |
| constexpr | mundy::Sphere< Scalar, PointType >::~Sphere ()=default |
| Destructor. | |
| constexpr | mundy::Sphere< Scalar, PointType >::Sphere (const Sphere< value_type, point_t > &other) |
| Deep copy constructor. | |
| template<typename OtherSphereType> | |
| constexpr | mundy::Sphere< Scalar, PointType >::Sphere (const OtherSphereType &other) |
| Deep copy constructor with different sphere type. | |
| constexpr | mundy::Sphere< Scalar, PointType >::Sphere (Sphere< value_type, point_t > &&other) |
| Deep move constructor. | |
| template<typename OtherSphereType> | |
| constexpr | mundy::Sphere< Scalar, PointType >::Sphere (OtherSphereType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr Sphere< value_type, point_t > & | mundy::Sphere< Scalar, PointType >::operator= (const Sphere< value_type, point_t > &other) |
| Copy assignment operator. | |
| template<typename OtherSphereType> | |
| constexpr Sphere< value_type, point_t > & | mundy::Sphere< Scalar, PointType >::operator= (const OtherSphereType &other) |
| Copy assignment operator. | |
| constexpr Sphere< value_type, point_t > & | mundy::Sphere< Scalar, PointType >::operator= (Sphere< value_type, point_t > &&other) |
| Move assignment operator. | |
| template<typename OtherSphereType> | |
| constexpr Sphere< value_type, point_t > & | mundy::Sphere< Scalar, PointType >::operator= (OtherSphereType &&other) |
| Move assignment operator. | |
Accessors | |
| constexpr const point_t & | mundy::Sphere< Scalar, PointType >::center () const |
| Accessor for the center. | |
| constexpr point_t & | mundy::Sphere< Scalar, PointType >::center () |
| Accessor for the center. | |
| constexpr const value_type & | mundy::Sphere< Scalar, PointType >::radius () const |
| Accessor for the radius. | |
| constexpr value_type & | mundy::Sphere< Scalar, PointType >::radius () |
| Accessor for the radius. | |
Constructors and destructor | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::Spherocylinder () |
| Default constructor for owning Spherocylinders. Default initializes the center and sets the radius to an invalid value of -1. | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::Spherocylinder (const point_t ¢er, const orientation_t &orientation, const value_type &radius, const value_type &length) |
| Constructor to initialize the center and radius. | |
| template<ValidPointType OtherPointType, ValidQuaternionType OtherQuaternionType> | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::Spherocylinder (const OtherPointType ¢er, const OtherQuaternionType &orientation, const value_type &radius, const value_type &length) |
| Constructor to initialize the center and radius. | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::~Spherocylinder ()=default |
| Destructor. | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::Spherocylinder (const Spherocylinder< value_type, point_t, orientation_t > &other) |
| Deep copy constructor. | |
| template<typename OtherSpherocylinderType> | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::Spherocylinder (const OtherSpherocylinderType &other) |
| Deep copy constructor with different spherocylinder type. | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::Spherocylinder (Spherocylinder< value_type, point_t, orientation_t > &&other) |
| Deep move constructor. | |
| template<typename OtherSpherocylinderType> | |
| constexpr | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::Spherocylinder (OtherSpherocylinderType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr Spherocylinder< value_type, point_t, orientation_t > & | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::operator= (const Spherocylinder< value_type, point_t, orientation_t > &other) |
| Copy assignment operator. | |
| template<typename OtherSpherocylinderType> | |
| constexpr Spherocylinder< value_type, point_t, orientation_t > & | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::operator= (const OtherSpherocylinderType &other) |
| Copy assignment operator. | |
| constexpr Spherocylinder< value_type, point_t, orientation_t > & | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::operator= (Spherocylinder< value_type, point_t, orientation_t > &&other) |
| Move assignment operator. | |
| template<typename OtherSpherocylinderType> | |
| constexpr Spherocylinder< value_type, point_t, orientation_t > & | mundy::Spherocylinder< Scalar, PointType, QuaternionType >::operator= (OtherSpherocylinderType &&other) |
| Move assignment operator. | |
Non-member functions for ValidSpherocylinderType objects | |
| template<ValidSpherocylinderType SpherocylinderType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const SpherocylinderType &spherocylinder) |
| OStream operator. | |
Constructors and destructor | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::SpherocylinderSegment () |
| Default constructor for owning SpherocylinderSegments. Default initialize the start and end points. | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::SpherocylinderSegment (const point_t &start, const point_t &end, const value_type &radius) |
| Constructor to initialize the start and end points. | |
| template<ValidPointType OtherPointType> | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::SpherocylinderSegment (const OtherPointType &start, const OtherPointType &end, const value_type &radius) |
| Constructor to initialize the start and end points. | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::~SpherocylinderSegment ()=default |
| Destructor. | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::SpherocylinderSegment (const SpherocylinderSegment< value_type, point_t > &other) |
| Deep copy constructor. | |
| template<typename OtherSpherocylinderSegmentType> | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::SpherocylinderSegment (const OtherSpherocylinderSegmentType &other) |
| Deep copy constructor. | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::SpherocylinderSegment (SpherocylinderSegment< value_type, point_t > &&other) |
| Deep move constructor. | |
| template<typename OtherSpherocylinderSegmentType> | |
| constexpr | mundy::SpherocylinderSegment< Scalar, PointType >::SpherocylinderSegment (OtherSpherocylinderSegmentType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr SpherocylinderSegment< value_type, point_t > & | mundy::SpherocylinderSegment< Scalar, PointType >::operator= (const SpherocylinderSegment< value_type, point_t > &other) |
| Copy assignment operator. | |
| template<typename OtherSpherocylinderSegmentType> | |
| constexpr SpherocylinderSegment< value_type, point_t > & | mundy::SpherocylinderSegment< Scalar, PointType >::operator= (const OtherSpherocylinderSegmentType &other) |
| Copy assignment operator. | |
| constexpr SpherocylinderSegment< value_type, point_t > & | mundy::SpherocylinderSegment< Scalar, PointType >::operator= (SpherocylinderSegment< value_type, point_t > &&other) |
| Move assignment operator. | |
| template<typename OtherSpherocylinderSegmentType> | |
| constexpr SpherocylinderSegment< value_type, point_t > & | mundy::SpherocylinderSegment< Scalar, PointType >::operator= (OtherSpherocylinderSegmentType &&other) |
| Move assignment operator. | |
Accessors | |
| constexpr const point_t & | mundy::SpherocylinderSegment< Scalar, PointType >::start () const |
| Accessor for the start. | |
| constexpr point_t & | mundy::SpherocylinderSegment< Scalar, PointType >::start () |
| Accessor for the start. | |
| constexpr const point_t & | mundy::SpherocylinderSegment< Scalar, PointType >::end () const |
| Accessor for the end. | |
| constexpr point_t & | mundy::SpherocylinderSegment< Scalar, PointType >::end () |
| Accessor for the end. | |
| constexpr const value_type & | mundy::SpherocylinderSegment< Scalar, PointType >::radius () const |
| Accessor for the radius. | |
| constexpr value_type & | mundy::SpherocylinderSegment< Scalar, PointType >::radius () |
| Accessor for the radius. | |
Non-member functions for ValidSpherocylinderSegmentType objects | |
| template<ValidSpherocylinderSegmentType SpherocylinderSegmentType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const SpherocylinderSegmentType &spherocylinder_segment) |
| OStream operator. | |
Constructors and destructor | |
| constexpr | mundy::VSegment< Scalar, PointType >::VSegment () |
| Default constructor for owning VSegments. Default initialize the start, middle, and end points. | |
| constexpr | mundy::VSegment< Scalar, PointType >::VSegment (const point_t &start, const point_t &middle, const point_t &end) |
| Constructor to initialize the start, middle, and end points. | |
| template<ValidPointType OtherPointType> | |
| constexpr | mundy::VSegment< Scalar, PointType >::VSegment (const OtherPointType &start, const OtherPointType &middle, const OtherPointType &end) |
| Constructor to initialize the start, middle, and end points. | |
| constexpr | mundy::VSegment< Scalar, PointType >::~VSegment ()=default |
| Destructor. | |
| constexpr | mundy::VSegment< Scalar, PointType >::VSegment (const VSegment< value_type, point_t > &other) |
| Deep copy constructor. | |
| template<typename OtherVSegmentType> | |
| constexpr | mundy::VSegment< Scalar, PointType >::VSegment (const OtherVSegmentType &other) |
| Deep copy constructor. | |
| constexpr | mundy::VSegment< Scalar, PointType >::VSegment (VSegment< value_type, point_t > &&other) |
| Deep move constructor. | |
| template<typename OtherVSegmentType> | |
| constexpr | mundy::VSegment< Scalar, PointType >::VSegment (OtherVSegmentType &&other) |
| Deep move constructor. | |
Operators | |
| constexpr VSegment< value_type, point_t > & | mundy::VSegment< Scalar, PointType >::operator= (const VSegment< value_type, point_t > &other) |
| Copy assignment operator. | |
| template<typename OtherVSegmentType> | |
| constexpr VSegment< value_type, point_t > & | mundy::VSegment< Scalar, PointType >::operator= (const OtherVSegmentType &other) |
| Copy assignment operator. | |
| constexpr VSegment< value_type, point_t > & | mundy::VSegment< Scalar, PointType >::operator= (VSegment< value_type, point_t > &&other) |
| Move assignment operator. | |
| template<typename OtherVSegmentType> | |
| constexpr VSegment< value_type, point_t > & | mundy::VSegment< Scalar, PointType >::operator= (OtherVSegmentType &&other) |
| Move assignment operator. | |
Accessors | |
| constexpr const point_t & | mundy::VSegment< Scalar, PointType >::start () const |
| Accessor for the start. | |
| constexpr point_t & | mundy::VSegment< Scalar, PointType >::start () |
| Accessor for the start. | |
| constexpr const point_t & | mundy::VSegment< Scalar, PointType >::middle () const |
| Accessor for the middle. | |
| constexpr point_t & | mundy::VSegment< Scalar, PointType >::middle () |
| Accessor for the middle. | |
| constexpr const point_t & | mundy::VSegment< Scalar, PointType >::end () const |
| Accessor for the end. | |
| constexpr point_t & | mundy::VSegment< Scalar, PointType >::end () |
| Accessor for the end. | |
Non-member functions for ValidVSegmentType objects | |
| template<ValidVSegmentType VSegmentType> | |
| std::ostream & | mundy::operator<< (std::ostream &os, const VSegmentType &v_segment) |
| OStream operator. | |
| using mundy::AABB< Scalar, MinPointType, MaxPointType >::value_type = Scalar |
| using mundy::AABB< Scalar, MinPointType, MaxPointType >::min_point_t = MinPointType |
| using mundy::AABB< Scalar, MinPointType, MaxPointType >::max_point_t = MaxPointType |
| using mundy::Circle3D< Scalar, PointType, QuaternionType >::value_type = Scalar |
| using mundy::Circle3D< Scalar, PointType, QuaternionType >::point_t = PointType |
| using mundy::Circle3D< Scalar, PointType, QuaternionType >::orientation_t = QuaternionType |
| using mundy::Ellipsoid< Scalar, PointType, OrientationType >::value_type = Scalar |
| using mundy::Ellipsoid< Scalar, PointType, OrientationType >::point_t = PointType |
| using mundy::Ellipsoid< Scalar, PointType, OrientationType >::orientation_t = OrientationType |
| using mundy::Line< Scalar, PointType >::value_type = Scalar |
| using mundy::Line< Scalar, PointType >::point_t = PointType |
| using mundy::Line< Scalar, PointType >::vector_t = PointType |
| using mundy::LineSegment< Scalar, StartPointType, EndPointType >::value_type = Scalar |
| using mundy::LineSegment< Scalar, StartPointType, EndPointType >::start_point_t = StartPointType |
| using mundy::LineSegment< Scalar, StartPointType, EndPointType >::end_point_t = EndPointType |
| using mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::value_type = Scalar |
| using mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::point_t = PointType |
| using mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::orientation_t = QuaternionType |
| using mundy::OBB< Scalar, PointType, QuaternionType, HalfExtentsType >::half_extents_t = HalfExtentsType |
| using mundy::APoint = AVector3<Scalar, Accessor> |
| Scalar |
The following is a methodological choice to use the Vector3 class as the underlying data structure for the Point class. This is done to allow points to access the same mathematical operations as vectors (dot product, cross product, etc.). Had we created our own interface, we would have hidden the mathematical operations from the user.
| using mundy::Point = APoint<Scalar> |
| using mundy::Ring< Scalar, PointType, QuaternionType >::value_type = Scalar |
| using mundy::Ring< Scalar, PointType, QuaternionType >::point_t = PointType |
| using mundy::Ring< Scalar, PointType, QuaternionType >::orientation_t = QuaternionType |
| using mundy::Sphere< Scalar, PointType >::value_type = Scalar |
| using mundy::Sphere< Scalar, PointType >::point_t = PointType |
| using mundy::Spherocylinder< Scalar, PointType, QuaternionType >::value_type = Scalar |
| using mundy::Spherocylinder< Scalar, PointType, QuaternionType >::point_t = PointType |
| using mundy::Spherocylinder< Scalar, PointType, QuaternionType >::orientation_t = QuaternionType |
| using mundy::SpherocylinderSegment< Scalar, PointType >::value_type = Scalar |
| using mundy::SpherocylinderSegment< Scalar, PointType >::point_t = PointType |
| using mundy::VSegment< Scalar, PointType >::value_type = Scalar |
| using mundy::VSegment< Scalar, PointType >::point_t = PointType |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | min_corner | The minimum corner of the aabb. |
| [in] | max_corner | The maximum corner of the aabb. |
|
inlineconstexpr |
| [in] | min_corner | The minimum corner of the aabb. |
| [in] | max_corner | The maximum corner of the aabb. |
|
inlineconstexpr |
| [in] | x_min | The minimum x-coordinate. |
| [in] | y_min | The minimum y-coordinate. |
| [in] | z_min | The minimum z-coordinate. |
| [in] | x_max | The maximum x-coordinate. |
| [in] | y_max | The maximum y-coordinate. |
| [in] | z_max | The maximum z-coordinate. |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | min_corner | The new minimum corner. |
|
inlineconstexpr |
| [in] | x | The new x-coordinate. |
| [in] | y | The new y-coordinate. |
| [in] | z | The new z-coordinate. |
|
inlineconstexpr |
| [in] | max_corner | The new maximum corner. |
|
inlineconstexpr |
| [in] | x | The new x-coordinate. |
| [in] | y | The new y-coordinate. |
| [in] | z | The new z-coordinate. |
|
constexpr |
|
constexpr |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const AABBType & | aabb ) |
|
constexpr |
| void mundy::for_each_point | ( | const T & | aabb, |
| Functor && | f ) |
| void mundy::for_each_point_mutable | ( | T & | aabb, |
| Functor && | f ) |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The center (in the lab frame) of the Circle3D. |
| [in] | orientation | The quaternion orientation mapping a circle with normal in the z-direction to the lab frame. |
| [in] | radius | The radius of the circle. |
|
inlineconstexpr |
| [in] | center | The center (in the lab frame) of the Circle3D. |
| [in] | orientation | The quaternion orientation mapping a circle with normal in the z-direction to the lab frame. |
| [in] | radius | The radius of the circle. |
|
default |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The new center. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | orientation | The new orientation. |
|
inlineconstexpr |
| [in] | qw | The scalar-component of the orientation quaternion. |
| [in] | qx | The x-component of the orientation quaternion. |
| [in] | qy | The y-component of the orientation quaternion. |
| [in] | qz | The z-component of the orientation quaternion. |
|
inlineconstexpr |
| [in] | radius | The new major radius. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const Circle3DType & | circle3d ) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | x | The x-coordinate of the center. |
| [in] | y | The y-coordinate of the center. |
| [in] | z | The z-coordinate of the center. |
| [in] | qw | The scalar-component of the orientation quaternion. |
| [in] | qx | The x-component of the orientation quaternion. |
| [in] | qy | The y-component of the orientation quaternion. |
| [in] | qz | The z-component of the orientation quaternion. |
| [in] | radius_1 | The first axis length of the Ellipsoid. |
| [in] | radius_2 | The second axis length of the Ellipsoid. |
| [in] | radius_3 | The third axis length of the Ellipsoid. |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The new center. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | orientation | The new orientation. |
|
inlineconstexpr |
| [in] | qw | The scalar-component of the orientation quaternion. |
| [in] | qx | The x-component of the orientation quaternion. |
| [in] | qy | The y-component of the orientation quaternion. |
| [in] | qz | The z-component of the orientation quaternion. |
|
inlineconstexpr |
| [in] | radii | The new radii. |
|
inlineconstexpr |
| [in] | radius_1 | The new first axis radius. |
| [in] | radius_2 | The new second axis radius. |
| [in] | radius_3 | The new third axis radius. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const EllipsoidType & | ellipsoid ) |
|
constexpr |
|
constexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The new center. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | direction | The new direction. |
|
inlineconstexpr |
| [in] | x | The x-component. |
| [in] | y | The y-component. |
| [in] | z | The z-component. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const LineType & | line ) |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | start | The start of the LineSegment. |
| [in] | end | The end of the LineSegment. |
|
inlineconstexpr |
| [in] | start | The start of the LineSegment. |
| [in] | end | The end of the LineSegment. |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | start | The new start point. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | end | The new end point. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const LineSegmentType & | line_segment ) |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | Centroid of the box in world space. |
| [in] | half_extent | Half-length of the box along each local axis. |
|
inlineconstexpr |
| [in] | center | Centroid of the box in world space. |
| [in] | orientation | Unit quaternion mapping local axes to world space. |
| [in] | half_extents | Half-lengths along each local axis (must be non-negative). |
|
inlineconstexpr |
| [in] | center | Centroid of the box in world space. |
| [in] | orientation | Unit quaternion mapping local axes to world space. |
| [in] | hx | Half-length along local x-axis. |
| [in] | hy | Half-length along local y-axis. |
| [in] | hz | Half-length along local z-axis. |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexpr |
Tests 15 candidate separating axes: 3 face normals of A, 3 face normals of B, and 9 edge cross-products A_i × B_j. Returns true if the boxes overlap on every axis (i.e. no separating axis was found).
The relative rotation is computed via mat(conj(q_A)*q_B) rather than materialising both rotation matrices — consistent with the quaternion storage choice documented in the class header.
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const T & | obb ) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The new center. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | orientation | The new orientation. |
|
inlineconstexpr |
| [in] | qw | The scalar-component of the orientation quaternion. |
| [in] | qx | The x-component of the orientation quaternion. |
| [in] | qy | The y-component of the orientation quaternion. |
| [in] | qz | The z-component of the orientation quaternion. |
|
inlineconstexpr |
| [in] | major_radius | The new major radius. |
|
inlineconstexpr |
| [in] | minor_radius | The new minor radius. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const RingType & | ring ) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The new center. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | radius | The new radius. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const SphereType & | sphere ) |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The center of the Spherocylinder. |
| [in] | orientation | The orientation of the Spherocylinder (as a quaternion). |
| [in] | radius | The radius of the Spherocylinder. |
| [in] | length | The length of the Spherocylinder. |
|
inlineconstexpr |
| [in] | center | The center of the Spherocylinder. |
| [in] | orientation | The orientation of the Spherocylinder (as a quaternion). |
| [in] | radius | The radius of the Spherocylinder. |
| [in] | length | The length of the Spherocylinder. |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | center | The new center. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | orientation | The new orientation. |
|
inlineconstexpr |
| [in] | qw | The scalar-component of the orientation quaternion. |
| [in] | qx | The x-component of the orientation quaternion. |
| [in] | qy | The y-component of the orientation quaternion. |
| [in] | qz | The z-component of the orientation quaternion. |
|
inlineconstexpr |
| [in] | radius | The new radius. |
|
inlineconstexpr |
| [in] | length | The new length. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const SpherocylinderType & | spherocylinder ) |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | start | The start of the SpherocylinderSegment. |
| [in] | end | The end of the SpherocylinderSegment. |
|
inlineconstexpr |
| [in] | start | The start of the SpherocylinderSegment. |
| [in] | end | The end of the SpherocylinderSegment. |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | start | The new start point. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | end | The new end point. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | radius | The new radius. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const SpherocylinderSegmentType & | spherocylinder_segment ) |
|
inlineconstexpr |
|
inlineconstexpr |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
| [in] | start | The new start point. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | middle | The new middle point. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
|
inlineconstexpr |
| [in] | end | The new end point. |
|
inlineconstexpr |
| [in] | x | The x-coordinate. |
| [in] | y | The y-coordinate. |
| [in] | z | The z-coordinate. |
| std::ostream & mundy::operator<< | ( | std::ostream & | os, |
| const VSegmentType & | v_segment ) |
| void mundy::for_each_point | ( | const PointT & | pt, |
| Functor && | f ) |
| void mundy::for_each_point_mutable | ( | PointT & | pt, |
| Functor && | f ) |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
constexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
constexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
staticconstexpr |
|
inlineconstexpr |
|
friend |
|
friend |
|
friend |