User/CustomGeometryTypes

Custom Geometry Types

Inspired by the  Custom polygons thread, this article is dedicated to end-user examples on defining custom geometry containers and explains how to use them with GGL functions and algorithms.

Point

TBD

Line

TBD - extend example

typedef std::vector<my_custom_point> my_linestring;

Polygon

Requirements:

  1. You have to assign it the ring tag.
  2. You cannot assign two different tags to the same structure.
  3. ...

TBD - provide working example