Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

poly_assertions.h

00001 #include "poly.h"
00002 
00003 typedef Polyhedron::Halfedge Halfedge;
00004 typedef Polyhedron::Point Point;
00005 
00006 
00007 void 
00008 assert_poly_combinatorics( const Polyhedron& poly,
00009                            int n_facets, int n_halfedges, int n_vertices );
00010 
00011 // Find halfedge pointing to this vertex.
00012 Polyhedron::Halfedge_const_handle 
00013 locate_vertex( const Polyhedron& poly, const Point& p );
00014 
00015 
00016 // Find halfedge (p,q)
00017 Polyhedron::Halfedge_const_handle 
00018 locate_halfedge( const Polyhedron& poly,
00019                  const Point& p, const Point& q );
00020 
00021 // Verify that (p1,p2,p3) forms a facet of the polyhedron and return
00022 // the facet handle.
00023 Polyhedron::Facet_const_handle
00024 check_facet( const Polyhedron& poly,
00025              const Point& p1, const Point& p2, const Point& p3 );
00026 
00027 
00028 // Verify that (p1,p2,p3,p4) forms a facet of the polyhedron and return
00029 // the facet handle.
00030 Polyhedron::Facet_const_handle
00031 check_facet( const Polyhedron& poly,
00032              const Point& p1, const Point& p2, const Point& p3, const Point& p4 );
00033 
00034 
00035 // Verify that (p1,p2,p3,p4,p5) forms a facet of the polyhedron and return
00036 // the facet handle.
00037 Polyhedron::Facet_const_handle
00038 check_facet( const Polyhedron& poly,
00039              const Point& p1, const Point& p2, const Point& p3, 
00040              const Point& p4, const Point& p5 );
00041 
00042 
00043 // Verify that (p1,p2,p3,p4,p5,p6) forms a facet of the polyhedron and return
00044 // the facet handle.
00045 Polyhedron::Facet_const_handle
00046 check_facet( const Polyhedron& poly,
00047              const Point& p1, const Point& p2, const Point& p3, 
00048              const Point& p4, const Point& p5, const Point& p6 );

Generated on Fri Oct 26 23:38:10 2001 for bicobj-intersection by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001