class csBoxClipper : public csClipper The csBoxClipper class is able to clip convex polygons to a rectangle (such as the screen)
| | Clip (csVector2 *Polygon, int &Count, int MaxCount, csBox *BoundingBox) Clip a set of 2D points and return them in the same array |
| | Clip (csVector2 *Polygon, csVector2* dest_poly, int Count, int &OutCount) Clip a to dest_poly. |
| | csBoxClipper (float x1, float y1, float x2, float y2) Initializes the clipper object to a rectangle with the given coords. |
| | csBoxClipper (const csBox& b) Initializes the clipper object to the given bounding region. |
| | GetNumVertices () Return number of vertices for this clipper polygon. |
| | GetVertex (int i) Return vertex at index for this clipper polygon. |
| | IsInside (float x, float y) Return true if given point is inside (or on bound) of clipper polygon. |
| | region |
The csBoxClipper class is able to clip convex polygons to a rectangle (such as the screen)
csBoxClipper(const csBox& b)
csBoxClipper(float x1, float y1, float x2, float y2)
virtual bool Clip(csVector2 *Polygon, csVector2* dest_poly, int Count, int &OutCount)
virtual bool Clip(csVector2 *Polygon, int &Count, int MaxCount, csBox *BoundingBox)
virtual bool IsInside(float x, float y)
virtual int GetNumVertices()
virtual const csVector2 GetVertex(int i)
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de