transform_by: Transform the vertex coordinates by the transformation matrix

Description Usage Arguments

Description

Transform the vertex coordinates by the transformation matrix

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
transform_by(x, transform_matrix)

## Default S3 method:
transform_by(x, transform_matrix)

## S3 method for class 'matrix'
transform_by(x, transform_matrix)

## S3 method for class 'mesh3d'
transform_by(x, transform_matrix)

## S3 method for class 'numeric'
transform_by(x, transform_matrix)

## S3 method for class 'mesh3dlist'
transform_by(x, transform_matrix)

transform_by_inverse(x, transform_matrix)

Arguments

x

matrix, mesh3d object, mesh3dlist object, or numeric vector of length 3 or 4 (homogenous coordinates)

transform_matrix

4x4 transformation matrix


coolbutuseless/threed documentation built on May 5, 2019, 7:08 a.m.