calculateTransformFromPoints()

Calculates a transformation from a set of points in this layer.pointTopLeft The top left point coordinates in the form of an array, [x, y, z].pointTopRight