AAPlane.hpp
Go to the documentation of this file.
1
2namespace GfxTL
3{
4 template <class PointT>
8
9 template <class PointT>
10 AAPlane<PointT>::AAPlane(unsigned int axis, ScalarType value) : _axis(axis), _value(value)
11 {
12 }
13
14 template <class PointT>
15 AAPlane<PointT>::AAPlane(unsigned int axis, const PointType& p) : _axis(axis), _value(p[axis])
16 {
17 }
18
19 template <class PointT>
20 void
21 AAPlane<PointT>::Set(unsigned int axis, ScalarType value)
22 {
23 _axis = axis;
24 _value = value;
25 }
26}; // namespace GfxTL
PointType::ScalarType ScalarType
Definition AAPlane.h:11
void Set(unsigned int axis, ScalarType value)
Definition AAPlane.hpp:21
PointT PointType
Definition AAPlane.h:10
Definition AABox.h:10