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.
#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. | |
| void vsl_b_read | ( | vsl_b_istream & | is, | |
| vsol_polygon_2d *& | p | |||
| ) |
| void vsl_b_write | ( | vsl_b_ostream & | os, | |
| const vsol_polygon_2d * | p | |||
| ) |
1.5.1