#include <edl/edlgeom.h>
|
PointType | x |
PointType | y |
PointType | dX |
PointType | dY |
◆ RectTmpl() [1/4]
template<typename PointType>
◆ RectTmpl() [2/4]
template<typename PointType>
RectTmpl< PointType >::RectTmpl |
( |
PointType | ax, |
|
|
PointType | ay, |
|
|
PointType | adX, |
|
|
PointType | adY ) |
|
inline |
◆ RectTmpl() [3/4]
template<typename PointType>
◆ RectTmpl() [4/4]
template<typename PointType>
◆ containsPoint()
template<typename PointType>
bool RectTmpl< PointType >::containsPoint |
( |
PointType | px, |
|
|
PointType | py ) const |
|
inline |
◆ containsRect()
template<typename PointType>
bool RectTmpl< PointType >::containsRect |
( |
const RectTmpl< PointType > & | rect | ) |
const |
|
inline |
Does this rectangle completely contain the given rect?
◆ equal()
template<typename PointType>
◆ expandToPoint()
template<typename PointType>
Expand this rect if necessary to include point.
- Parameters
-
point | The point to consider |
- Returns
- True if the box needed to be expanded
◆ getBottom()
template<typename PointType>
PointType RectTmpl< PointType >::getBottom |
( |
| ) |
const |
|
inline |
◆ getRight()
template<typename PointType>
PointType RectTmpl< PointType >::getRight |
( |
| ) |
const |
|
inline |
◆ inset()
template<typename PointType>
Inset a rectangle by the given values. Will collapse to a point if the rectangle is not enough to service the inset.
◆ intersectRect()
template<typename PointType>
Intersect this rect with another rect. If the rects do not intersect, the result is an empty rect.
◆ intersectsWithRect()
template<typename PointType>
bool RectTmpl< PointType >::intersectsWithRect |
( |
const RectTmpl< PointType > & | rect | ) |
const |
|
inline |
Does this rect intersect with another rect?
◆ isEmpty()
template<typename PointType>
bool RectTmpl< PointType >::isEmpty |
( |
| ) |
const |
|
inline |
◆ offset()
template<typename PointType>
◆ operator!=()
template<typename PointType>
bool RectTmpl< PointType >::operator!= |
( |
const RectTmpl< PointType > & | rect | ) |
const |
|
inline |
◆ operator=()
template<typename PointType>
◆ operator==()
template<typename PointType>
bool RectTmpl< PointType >::operator== |
( |
const RectTmpl< PointType > & | rect | ) |
const |
|
inline |
◆ setEmpty()
template<typename PointType>
void RectTmpl< PointType >::setEmpty |
( |
| ) |
|
|
inline |
◆ similar()
template<typename PointType>
bool RectTmpl< PointType >::similar |
( |
const RectTmpl< PointType > & | rect, |
|
|
float | epsilon ) const |
|
inline |
◆ unionRect()
template<typename PointType>
Unite this rect with another rect.
◆ dX
template<typename PointType>
◆ dY
template<typename PointType>
template<typename PointType>
template<typename PointType>
The documentation for this class was generated from the following file: