transform_segment: Transform Coordinates of Segment

Description Usage Arguments Value

View source: R/construct_transform_coordinates.R

Description

Helper function to apply 'transform_df_coords()' to the dataframe constructed by 'construct_grid()' or similar.

Usage

1

Arguments

df

Dataframe with column names 'x', 'y', 'xend', 'yend'.

m

2x2 matrix.

Value

Dataframe with same column names but coordinates transformed according to 'm'.


brshallo/animatrixr documentation built on Dec. 18, 2020, 12:30 a.m.