x3p_flip_x {x3ptools} | R Documentation |
Flip the x coordinate of an x3p file
Description
Flip the surface matrix of an x3p file along the x axis.
Usage
x3p_flip_x(x3p)
x_flip_x3p(x3p)
Arguments
x3p |
x3p object |
Value
x3p object in which the x coordinate is reversed.
Examples
logo <- x3p_read(system.file("csafe-logo.x3p", package="x3ptools"))
dim(logo$surface.matrix)
## Not run:
x3p_image(logo)
## End(Not run)
# flip the y-axis for the old ISO standard:
logoflip <- x3p_flip_x(logo)
dim(logoflip$surface.matrix)
## Not run:
x3p_image(logoflip)
## End(Not run)
[Package x3ptools version 0.0.4 Index]