#include <ixlib_polygon.hh>
Inheritance diagram for ixion::polygon::

Public Types | |
| typedef polygon_segment< T >::vertex_2d | vertex_2d |
Public Methods | |
| polygon () | |
| polygon (polygon const &src) | |
| polygon & | operator= (polygon const &src) |
| ~polygon () | |
| void | clear () |
| bool | isPointInside (T x, T y) |
| void | smooth () |
| void | subdivide () |
| void | translate (T x, T y) |
| void | unite (polygon &dest, polygon const &src) const |
| void | intersect (polygon &dest, polygon const &src) const |
| void | subtract (polygon &dest, polygon const &subtrahend) const |
| rectangle< T > | getBoundingBox () const |
| vertex_2d | getCenter () const |
| vertex_2d | getWeightedCenter () const |
| template<class HLineRoutine> void | drawScanlines (HLineRoutine const &hlr, T step=1) const |
|
|||||
|
Definition at line 67 of file ixlib_polygon.hh. |
|
|||||||||
|
Definition at line 70 of file ixlib_polygon.hh. |
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001