title
Graph Drawing Toolkit

An object-oriented C++ library for handling and drawing graphs

gdt::gdtpolygon Class Reference

#include <gdtgeometry.h>

List of all members.

Public Member Functions

 gdtpolygon ()
 gdtpolygon (gdtlist< gdtpoint > V)
 ~gdtpolygon ()
gdtlist< gdtpointvertices () const
gdtlist< gdtsegmentedges ()
gdtlist< gdtpointintersection (gdtsegment s)
double perimeter ()
double area ()


Detailed Description

Definition at line 214 of file gdtgeometry.h.


Constructor & Destructor Documentation

gdt::gdtpolygon::gdtpolygon (  ) 

gdt::gdtpolygon::gdtpolygon ( gdtlist< gdtpoint V  ) 

gdt::gdtpolygon::~gdtpolygon (  ) 


Member Function Documentation

gdtlist<gdtpoint> gdt::gdtpolygon::vertices (  )  const

gdtlist<gdtsegment> gdt::gdtpolygon::edges (  ) 

gdtlist<gdtpoint> gdt::gdtpolygon::intersection ( gdtsegment  s  ) 

Returns the list of the instersection points between the current polygon and segment s.

double gdt::gdtpolygon::perimeter (  ) 

double gdt::gdtpolygon::area (  ) 


The documentation for this class was generated from the following file:
Generated on Thu Jan 10 14:49:50 2008 for GDToolkit GAPI by  doxygen 1.5.3