CG_3DScaleAroundCenter — ジオメトリーを 3次元空間で指定した点を中心として拡大縮小します。
geometry CG_3DScaleAroundCenter(geometry geom, float8 factorX, float8 factorY, float8 factorZ, float8 centerX, float8 centerY, float8 centerZ);
入力ジオメトリーgeomを X,Y,Z 軸に沿って個別の係数で、点 (centerX, centerY, centerZ) を中心に拡大縮小します。
Availability: 3.6.0 - SFCGAL >= 2.0.0が必要です
このメソッドには SFCGAL バックエンドが必要です。
この関数は3次元に対応し、Z値を削除しません。
SELECT CG_3DScaleAroundCenter('POINT(2 2 2)', 0.5, 0.5, 0.5, 1, 1, 1);
POINT Z (1.5 1.5 1.5)