23#ifndef VCL_ALGORITHMS_CORE_BOX_BOX3_H
24#define VCL_ALGORITHMS_CORE_BOX_BOX3_H
26#include <vclib/space/core.h>
103template<Box3Concept BoxType>
106 using PointType = BoxType::PointType;
118 throw std::out_of_range(
"Invalid vertex index");
151template<Box3Concept BoxType>
154 using PointType = BoxType::PointType;
170 throw std::out_of_range(
"Invalid edge index");
A class representing a box in N-dimensional space.
Definition box.h:46
PointT & max()
Returns a reference to the maximum point of the box.
Definition box.h:104
PointT & min()
Returns a reference to the minimum point of the box.
Definition box.h:90
auto boxVertex(const BoxType &box, uint i) -> BoxType::PointType
Returns the ith vertex of a 3D box.
Definition box3.h:104
auto boxEdge(const BoxType &box, uint i) -> Segment< typename BoxType::PointType >
Returns the ith edge of a 3D box.
Definition box3.h:152