version 0.6.0

Topics

 Basic shapes
 Basic shapes: circle and rectangle.
 
 CSG (Constructive Solid Geometry) shapes
 CSG operations: union, intersection and difference.
 
 Polygon shape
 Polygonal shape (2D only)
 
 Surface mesh shape
 Shape defined by a surface mesh (3D only)
 
 Abstract type shape
 Abstract definition of a shape.
 

Detailed Description

This group provides a way to define geometric shapes with a combination of:

Example of a shape defined by CSG operations:

               ┌───────────┐
               │   union   │
               └───────────┘
            ╭───────╯ ╰───────╮
            │                 │
  ┌────────────┐           ┌────────────┐
  │   circle   │           │ difference │
  └────────────┘           └────────────┘
                        ╭───────╯ ╰───────╮
                        │                 │
                   ┌───────────┐      ┌───────────┐
                   │  polygon  │      │ rectangle │
                   └───────────┘      └───────────┘

Every shape derived from the abstract type t_shape. Any shapes implements three operations: