Spc.Translate: Move the object hierarchy to a different point in space,...

Description Usage Arguments Value See Also Examples

View source: R/classdefs.R

Description

Move the object hierarchy to a different point in space, without performing rotation or any other trsnformation

Usage

1
Spc.Translate(object, move.direction)

Arguments

object

The object (elementary or compound) to be moved

move.direction

A directional vector containing the distance (x,y,z) by which the object should be moved

Value

The same object, but with all appropriate spacial points updated accordingly

See Also

Other transforms: Spc.Rotate

Examples

1
  my_object <- Spc.Translate (my_object, c(0,20,0))

JerBoon/vecspace documentation built on May 26, 2019, 7:28 a.m.