Name

CG_3DScale — Scales a geometry by separate factors along X, Y, and Z axes.

Übersicht

geometry CG_3DScale(geometry geom, float8 factorX, float8 factorY, float8 factorZ);

Beschreibung

Scales the input geometry geom by different factors along the X, Y, and Z axes. The scaling is performed relative to the origin point (0,0,0).

Availability: 3.6.0 - requires SFCGAL >= 2.0.0

Diese Methode benötigt ein SFCGAL-Backend.

Diese Funktion unterstützt 3d und lässt den Z-Index nicht fallen.

Beispiele

Code
SELECT CG_3DScale('POINT(1 1 1)', 2, 3, 4);
Ausgabe von Rastern
POINT Z (2 3 4)
Figure
Geometry figure for visual-cg-3dscale-01