ST_RotateY — Обертає геометрію навколо осі Y.
geometry ST_RotateY(geometry geomA, float rotRadians);
Обертає геометрію geomA - rotRadians навколо осі y.
|
|
|
|
Доступність: 1.1.2. Назва змінена з RotateY на ST_RotateY у версії 1.2.2.
Покращено: 2.0.0 додано підтримку багатогранних поверхонь, трикутників і TIN.
This function supports Polyhedral surfaces.
This function supports 3d and will not drop the z-index.
This function supports Triangles and Triangulated Irregular Network Surfaces (TIN).
This example rotates a line 90 degrees around the Y axis.
SELECT ST_RotateY('LINESTRING(1 2 3,1 1 1)', pi()/2);
LINESTRING(3 2 -1,1 1 -1)