fm_unify_coords {fmesher} | R Documentation |
Unify coordinates to 3-column matrix
Description
Convert coordinate information to a 3-column matrix. This is mainly an internal function, and the interface may change.
Usage
fm_unify_coords(x, crs = NULL)
## S3 method for class 'NULL'
fm_unify_coords(x, crs = NULL)
## Default S3 method:
fm_unify_coords(x, crs = NULL)
## S3 method for class 'Spatial'
fm_unify_coords(x, crs = NULL)
## S3 method for class 'sf'
fm_unify_coords(x, crs = NULL)
## S3 method for class 'sfc'
fm_unify_coords(x, crs = NULL)
Arguments
x |
A object with coordinate information |
crs |
A optional crs object to convert the coordinates to |
Value
A coordinate matrix
Examples
fm_unify_coords(fmexample$loc_sf)
[Package fmesher version 0.5.0 Index]