#include <rs_infoarea.h>
Public Member Functions | |
| RS_InfoArea () | |
| Constructor. | |
| ~RS_InfoArea () | |
| Destructor. | |
| void | reset () |
| Resets the points. | |
| void | addPoint (const RS_Vector &p) |
| Adds a point to the internal list. | |
| void | calculate () |
| Calculates the area and the circumference of the area. | |
| void | close () |
| Closes the polygon if it is not closed already. | |
| bool | isValid () |
| bool | isClosed () |
| double | getArea () const |
| double | getCircumference () const |
| int | count () const |
| RS_Vector | at (int i) const |
Andrew Mustun
|
|
Adds a point to the internal list.
|
|
|
|
|
|
|
1.4.4