contrib/gel/vsol/vsol_polygon_2d.h File Reference


Detailed Description

Polygon in 2D space.

The vertices are to be defined in counterclockwise order.

Author:
François BERTEL
Date:
2000/05/09
    Modifications
     2000/05/09 François BERTEL Creation
     2000/06/17 Peter Vanroose  Implemented all operator==()s and type info
     2001/07/03 Peter Vanroose  Corrected the implementation of is_convex()
     2003/11/05 Amir Tamrakar   Added Safe casting methods
     2004/05/01 Joseph Mundy    Added binary I/O
     2004/05/14 Peter Vanroose  Added describe()
   

Definition in file vsol_polygon_2d.h.

#include <vsol/vsol_region_2d.h>
#include <vsol/vsol_point_2d_sptr.h>
#include <vcl_vector.h>
#include <vsl/vsl_binary_io.h>

Go to the source code of this file.


Classes

class  vsol_polygon_2d

Functions

void vsl_b_write (vsl_b_ostream &os, const vsol_polygon_2d *p)
 Binary save vsol_polygon_2d* to stream.
void vsl_b_read (vsl_b_istream &is, vsol_polygon_2d *&p)
 Binary load vsol_polygon_2d* from stream.

Function Documentation

void vsl_b_read ( vsl_b_istream is,
vsol_polygon_2d *&  p 
)

Binary load vsol_polygon_2d* from stream.

Definition at line 371 of file vsol_polygon_2d.cxx.

void vsl_b_write ( vsl_b_ostream os,
const vsol_polygon_2d p 
)

Binary save vsol_polygon_2d* to stream.

Definition at line 357 of file vsol_polygon_2d.cxx.


Generated on Tue Dec 2 05:14:58 2008 for contrib/gel/vsol by  doxygen 1.5.1