rotate.scale.coords {spbal} | R Documentation |
Scale and rotate points from the unit square to a defined projection.
Description
Given some coordinates on [0,1)x[0,1), shift and scale them to the bounding box, and then rotate them given the bounding box rotation defined by the Master Sample.
Usage
rotate.scale.coords(coords, bb, back = TRUE)
Arguments
coords |
Output from RSHalton() to be converted to the spatial surface of interest. |
bb |
Special shape file defining the bounding box with attributes for centroid and rotation. |
back |
Boolean for whether or not the rotation is back to the original rotated bounding box. |
Value
sf spatial points with projection defined in bb.
Author(s)
This function was first written by Paul van Dam-Bates for the package BASMasterSample.
[Package spbal version 1.0.1 Index]