[postgis-users] ST_MinkowskiSum

Stephen Mather stephen at smathermather.com
Sat Dec 7 14:51:30 PST 2013


Hi All,

Digging SFCGAL... .  Quick question-- is ST_MinkowskiSum a 2D calculation
of the Minkowski Sum when non-polyhedral surfaces are fed in?  For example,
I tried this:

 WITH pointt AS (

SELECT ST_MakePoint(0,0,0) AS the_geom

),

buffered AS (

SELECT ST_Buffer(the_geom, 30, 20) AS the_geom FROM pointt

),

rotatedOnItsSideX AS (

SELECT ST_RotateX(the_geom, 0.25 * pi()) AS the_geom from buffered

),

minkowski_sum AS (

SELECT ST_MinkowskiSum(x.the_geom, b.the_geom) AS the_geom FROM

rotatedOnItsSideX x, buffered b

)

SELECT 1 as gid, ST_AsText(the_geom) from minkowski_sum;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20131207/29e9408c/attachment.html>


More information about the postgis-users mailing list