34 #ifndef LVR2_GEOMETRY_BOUNDINGRECTANGLE_H_ 35 #define LVR2_GEOMETRY_BOUNDINGRECTANGLE_H_ 76 template<
typename CoordType>
110 m_supportVector(supportVector),
114 m_minDistA(minDistA),
115 m_maxDistA(maxDistA),
116 m_minDistB(minDistB),
CoordType m_minDistA
Distance of the beginning border from the support vector in the first direction (if negative: reverse...
Normal< CoordType > m_normal
The normal of the rectangle.
A vector guaranteed to be normalized (length = 1).
BaseVector< CoordType > m_vec1
The first direction vector.
A representation of a bounding rectangle.
BaseVector< CoordType > m_vec2
The second direction vector (that should be orthogonal to the first direction)
BoundingRectangle(BaseVector< CoordType > supportVector, BaseVector< CoordType > vec1, BaseVector< CoordType > vec2, Normal< CoordType > normal, CoordType minDistA, CoordType maxDistA, CoordType minDistB, CoordType maxDistB)
Constructor.
CoordType m_maxDistB
Distance of the end border from the support vector in the second direction (if negative: reverse dire...
CoordType m_maxDistA
Distance of the end border from the support vector in the first direction (if negative: reverse direc...
BaseVector< CoordType > m_supportVector
A 3D point, that is the support vector of the rectangle.