|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Demonstrates PolygonOffset on convex and non-convex polygons. More...
Go to the source code of this file.
Functions | |
| static Geom_Number | poly_area (const Polygon &p) |
| int | main () |
Demonstrates PolygonOffset on convex and non-convex polygons.
Definition in file polygon_offset_example.cc.
| int main | ( | ) |
Definition at line 48 of file polygon_offset_example.cc.
References Aleph::Polygon::add_vertex(), cos(), Aleph::divide_and_conquer_partition_dp(), Aleph::Tikz_Plane::draw(), __gmp_expr< mpq_t, mpq_t >::get_d(), poly_area(), Aleph::put_in_plane(), Aleph::put_polygon_vertices(), r, sin(), Aleph::tikz_points_style(), and Aleph::tikz_wire_style().
|
static |
Definition at line 41 of file polygon_offset_example.cc.
References Aleph::GeomPolygonUtils::signed_double_area().