Skip to content
Snippets Groups Projects
Commit fe883373 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add OrientedBoxBase::dimension_{x,y,z}

parent e48f10ed
No related branches found
No related tags found
No related merge requests found
......@@ -109,6 +109,36 @@ namespace simox
return static_cast<T>(dimension(i));
}
float_t dimension_x() const
{
return dimension(0);
}
template<class T>
T dimension_x() const
{
return dimension<T>(0);
}
float_t dimension_y() const
{
return dimension(1);
}
template<class T>
T dimension_y() const
{
return dimension<T>(1);
}
float_t dimension_z() const
{
return dimension(2);
}
template<class T>
T dimension_z() const
{
return dimension<T>(2);
}
const transform_t& transformation() const
{
return _t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment