Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
polygon_offset_example.cc File Reference

Demonstrates PolygonOffset on convex and non-convex polygons. More...

#include <iostream>
#include <cmath>
#include <tikzgeom_algorithms.H>
Include dependency graph for polygon_offset_example.cc:

Go to the source code of this file.

Functions

static Geom_Number poly_area (const Polygon &p)
 
int main ()
 

Detailed Description

Demonstrates PolygonOffset on convex and non-convex polygons.

Definition in file polygon_offset_example.cc.

Function Documentation

◆ main()

◆ poly_area()

static Geom_Number poly_area ( const Polygon p)
static

Definition at line 41 of file polygon_offset_example.cc.

References Aleph::GeomPolygonUtils::signed_double_area().

Referenced by main(), and TEST_F().