RectF
Public Functions
RectF()
getDistanceToPoint(const Point2F & refPt)
Return distance of the reference point to the rectangle.
getSqDistanceToPoint(const Point2F & refPt)
Return the squared distance of the reference point to the rectangle.
bool
bool
pointInRect(const Point2F & pt)
unionRects(const RectF & rect)
Detailed Description
Public Attributes
Point2F extent
Point2F point
Public Functions
RectF()
RectF(const F32 in_left, const F32 in_top, const F32 in_width, const F32 in_height)
RectF(const Point2F & in_rMin, const Point2F & in_rExtent)
contains(const Point2F & p)
contains(const RectF & R)
getDistanceToPoint(const Point2F & refPt)
Return distance of the reference point to the rectangle.
getSqDistanceToPoint(const Point2F & refPt)
Return the squared distance of the reference point to the rectangle.
inset(F32 x, F32 y)
intersect(const RectF & clipRect)
intersectTriangle(const Point2F & a, const Point2F & b, const Point2F & c)
isValidRect()
len_x()
len_y()
overlaps(const RectF & )
pointInRect(const Point2F & pt)
set(const F32 in_left, const F32 in_top, const F32 in_width, const F32 in_height)
set(const Point2F & in_rMin, const Point2F & in_rExtent)
unionRects(const RectF & rect)