ST_RotateX¶
Rotates a geometry around the X axis by an angle in radians.
Usage¶
geometry ST_RotateX(geom: geometry, rot: double)
Arguments¶
- geom (geometry): Input geometry
- rot (double)
Examples¶
SELECT ST_RotateX(ST_GeomFromText('POINT Z (1 0 0)'), radians(90));
┌─────────────────────────────────────────────────────────────────────────┐
│ st_rotatex(st_geomfromtext(Utf8("POINT Z (1 0 0)")),radians(Int64(90))) │
│ geometry │
╞═════════════════════════════════════════════════════════════════════════╡
│ POINT Z(1 0 0) │
└─────────────────────────────────────────────────────────────────────────┘