Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

Avoid::PolygonInterface Class Reference

#include <geomtypes.h>

Inheritance diagram for Avoid::PolygonInterface:

Avoid::Polygon Avoid::ReferencingPolygon Avoid::Rectangle

List of all members.


Detailed Description

A common interface used by the Polygon classes.

Definition at line 111 of file geomtypes.h.


Public Member Functions

virtual const Pointat (size_t index) const =0
 Returns a specific point in the polygon.
virtual void clear (void)=0
 Resets this to the empty polygon.
virtual bool empty (void) const =0
 Returns true if this polygon is empty.
void getBoundingRect (double *minX, double *minY, double *maxX, double *maxY) const
 Returns the bounding rectangle that contains this polygon.
virtual int id (void) const =0
 Returns the ID value associated with this polygon.
 PolygonInterface ()
 Constructor.
virtual size_t size (void) const =0
 Returns the number of points in this polygon.
virtual ~PolygonInterface ()
 Destructor.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index