PCL
|
Functions | |
template<typename T > | |
bool | pcl::IsHorizontalLine (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
bool | pcl::IsLine (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
bool | pcl::IsNormalRect (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
bool | pcl::IsOrderedRect (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
bool | pcl::IsPoint (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
bool | pcl::IsPointOrLine (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
bool | pcl::IsRect (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
bool | pcl::IsVerticalLine (T x0, T y0, T x1, T y1) noexcept |
template<typename T > | |
void | pcl::OrderRect (T &x0, T &y0, T &x1, T &y1) noexcept |
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates define a horizontal line.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
The specified coordinates define a horizontal line if and only if y0 = y1 and x0 != x1.
Definition at line 159 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::IsHorizontalLine().
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates define a line.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
The specified coordinates define a line if any of two conditions hold: x0 = x1 or y0 = y1, but not both conditions, that is, if the coordinates don't define a point.
Definition at line 142 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::IsLine().
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates define a normal rectangle.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
A normal rectangle requires that x0 < x1 and y0 < y1.
Definition at line 226 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::IsNormal().
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates define an ordered rectangle.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
An ordered rectangle requires that x0 <= x1 and y0 <= y1, that is, it can be a normal rectangle, a line, or a point.
Definition at line 243 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::IsOrdered().
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates correspond to a point.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
The specified coordinates define a point if and only if x0 = x1 and y0 = y1.
Definition at line 124 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::IsPoint().
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates define a point or a line.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
The specified coordinates define a point or line if either x0 = x1 or y0 = y1.
Definition at line 193 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::IsPointOrLine().
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates define a rectangle.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
The specified coordinates define a rectangle if and only if x0 != x1 and y0 != y1.
Definition at line 210 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::Intersect(), pcl::GenericRectangle< T >::IntersectFast(), and pcl::GenericRectangle< T >::IsRect().
|
inlinenoexcept |
Returns true iff a set of rectangle coordinates define a vertical line.
x0,y0 | Upper left corner coordinates. |
x1,y1 | Lower right corner coordinates. |
The specified coordinates define a vertical line if and only if x0 = x1 and y0 != y1.
Definition at line 176 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::IsVerticalLine().
|
inlinenoexcept |
Orders a set of rectangle coordinates to define an ordered rectangle.
[out] | x0,y0 | References to the upper left corner coordinates. |
[out] | x1,y1 | References to the lower right corner coordinates. |
This function ensures that x0 <= x1 and y0 <= y1, by exchanging coordinates if necessary.
Definition at line 260 of file Rectangle.h.
Referenced by pcl::GenericRectangle< T >::Intersects(), and pcl::GenericRectangle< T >::Order().