제목

CG_RotateY — Rotates a geometry around the Y-axis by a given angle.

요약

geometry CG_RotateY(geometry geom, float8 angle);

설명

Rotates the input geometry geom by angle radians around the Y-axis passing.

Availability: 3.6.0 - requires SFCGAL >= 2.0.0

This method needs SFCGAL backend.

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

예시

Code
SELECT CG_RotateY('POINT(1 0 0)', pi()/2);
래스터 출력
POINT Z (6.123233995736766e-17 0 -1)
Figure
Geometry figure for visual-cg-rotatey-01