PostgreSQL - Rotate geometric type giving unexpected results
问题 I'm using PostgresSQL 9.5 to generate a rectangle (geometric type BOX). That works fine SELECT Box(Point(-50, -100), Point(50, 100)) ; -- this works Then I try to rotate that box around the origin (its center point). The rotation function is both * Scaling/rotation box '((0,0),(1,1))' * point '(2.0,0)' / Scaling/rotation box '((0,0),(2,2))' / point '(2.0,0)' where the x-point is the scaling factor (2.0 in this example) and the y-point is the rotation radians (0 in this example). To check that