ST_MinkowskiSum — Performs Minkowski sum


geometry ST_MinkowskiSum(geometry geom1, geometry geom2);


This function performs a 2D minkowski sum of a point, line or polygon with a polygon.

The first parameter can be any 2D geometry (point, linestring, polygon). If a 3D geometry is passed, it will be converted to 2D by forcing Z to 0, leading to possible cases of invalidity. The second parameter must be a 2D polygon.

Availability: 2.1.0

This method needs SFCGAL backend.

This function supports 3d and will not drop the z-index.