RectClipper

Engine/source/util/rectClipper.h

More...

Private Attributes

Public Functions

RectClipper(const RectI & in_rRect)
bool
clipLine(const Point2I & in_rStart, const Point2I & in_rEnd, Point2I & out_rStart, Point2I & out_rEnd)
bool
clipPoint(const Point2I & in_rPoint)
bool
clipRect(const RectI & in_rRect, RectI & out_rRect)

Detailed Description

Private Attributes

RectI m_clipRect 

Public Functions

RectClipper(const RectI & in_rRect)

clipLine(const Point2I & in_rStart, const Point2I & in_rEnd, Point2I & out_rStart, Point2I & out_rEnd)

clipPoint(const Point2I & in_rPoint)

clipRect(const RectI & in_rRect, RectI & out_rRect)