Classes | Functions
contrib/gel/vsol/vsol_polygon_3d.h File Reference

Polygon in 3D space. More...

#include <vsol/vsol_region_3d.h>
#include <vsol/vsol_point_3d_sptr.h>
#include <vcl_vector.h>
#include <vcl_iosfwd.h>
#include <vsl/vsl_binary_io.h>
#include <vgl/vgl_fwd.h>
#include <vgl/vgl_homg_plane_3d.h>

Go to the source code of this file.

Classes

class  vsol_polygon_3d

Functions

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

Detailed Description

Polygon in 3D 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  Replaced vnl_double_3 by vgl_vector_3d
     2001-07-03 Peter Vanroose  Corrected the implementation of is_convex()
     2004-05-14 Peter Vanroose  Added describe()
     2004-09-06 Peter Vanroose  Added Binary I/O
   

Definition in file vsol_polygon_3d.h.


Function Documentation

void vsl_b_read ( vsl_b_istream is,
vsol_polygon_3d *&  p 
)

Binary load vsol_polygon_3d* from stream.

Definition at line 369 of file vsol_polygon_3d.cxx.

void vsl_b_write ( vsl_b_ostream os,
vsol_polygon_3d const *  p 
)

Binary save vsol_polygon_3d* to stream.

Definition at line 356 of file vsol_polygon_3d.cxx.