#include <iostream>#include <set>#include <cmath>#include <algorithm>#include <numeric>#include <string>#include "vgl_polygon.h"#include <vnl/vnl_math.h>#include "vgl_intersection.h"#include "vgl_line_2d.h"#include "vgl_tolerance.h"#include <cassert>Go to the source code of this file.
Macros | |
| #define | VGL_POLYGON_INSTANTIATE(T) |
Functions | |
| template<class T > | |
| void | vgl_selfintersections (vgl_polygon< T > const &p, std::vector< std::pair< unsigned int, unsigned int > > &e1, std::vector< std::pair< unsigned int, unsigned int > > &e2, std::vector< vgl_point_2d< T > > &ip) |
| Compute all self-intersections between all edges on all sheets. More... | |
| template<class T > | |
| vgl_polygon< T > | vgl_reorient_polygon (vgl_polygon< T > const &p) |
| template<class T > | |
| bool | vgl_polygon_sheet_is_counter_clockwise (std::vector< vgl_point_2d< T > > verts) |
| #define VGL_POLYGON_INSTANTIATE | ( | T | ) |
Definition at line 387 of file vgl_polygon.hxx.
| bool vgl_polygon_sheet_is_counter_clockwise | ( | std::vector< vgl_point_2d< T > > | verts | ) |
Definition at line 362 of file vgl_polygon.hxx.
| vgl_polygon<T> vgl_reorient_polygon | ( | vgl_polygon< T > const & | p | ) |
Definition at line 327 of file vgl_polygon.hxx.
| void vgl_selfintersections | ( | vgl_polygon< T > const & | p, |
| std::vector< std::pair< unsigned int, unsigned int > > & | e1, | ||
| std::vector< std::pair< unsigned int, unsigned int > > & | e2, | ||
| std::vector< vgl_point_2d< T > > & | ip | ||
| ) |
Compute all self-intersections between all edges on all sheets.
Definition at line 220 of file vgl_polygon.hxx.
1.8.15