Affine Transformations


func.ST_TransScale

Translates the geometry using the deltaX and deltaY args, then scales it using the XFactor, YFactor args, working in 2D only

func.ST_Translate

Returns a new geometry whose coordinates are translated delta x,delta y,delta z units

func.ST_Scale

Scales the geometry to a new size by multiplying the ordinates with the corresponding factor parameters

func.ST_RotateZ

Rotates a geometry geomA - rotRadians about the Z axis

func.ST_RotateY

Rotates a geometry geomA - rotRadians about the y axis

func.ST_RotateX

Rotates a geometry geomA - rotRadians about the X axis

func.ST_Rotate

Rotates geometry rotRadians counter-clockwise about the origin point

func.ST_Affine

Applies a 3D affine transformation to the geometry to do things like translate, rotate, scale in one step

Last modified March 11, 2024 at 3:25 PM EST: Creation of the expression expression library (3110a17)