Main Page   Class Hierarchy   Compound List   Header Files   Compound Members  

ddgRect2 Class Reference

2D rectangle object. More...

#include <ddggeom.h>

List of all members.


Public Members

 ddgRect2 (void)
 ddgRect2 ( ddgVector2 *p1, ddgVector2 *p2)
Constructor from 2 points.

bool intersect (ddgRect2 *r, ddgRect2 *i = NULL)
Test if rectangles intersect. More...

ddgVector2 min
The minimum point.

ddgVector2 max
The maximum point.


Detailed Description

2D rectangle object.


Member Function Documentation

bool ddgRect2::intersect (ddgRect2 * r, ddgRect2 * i = NULL) [inline]

Test if rectangles intersect.

and the rectangle which is the intersection of the given rectangles.


The documentation for this class was generated from the following file:
Generated at Sun Sep 17 19:27:55 2000 for Digital Dawn Graphics Toolkit by doxygen 0.49-991205 written by Dimitri van Heesch, © 1997-1999