Polygon in 2D space. More...
#include <vsol/vsol_region_2d.h>#include <vsol/vsol_point_2d_sptr.h>#include <vsl/vsl_binary_io.h>#include <vcl_vector.h>#include <vcl_string.h>#include <vcl_iosfwd.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. | |
Polygon in 2D space.
The vertices are to be defined in counterclockwise order.
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.
| 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.
1.7.5.1