set.view3d: Function for extracting the view point of an rgl plot.

View source: R/set.view3d.R

set.view3dR Documentation

Function for extracting the view point of an rgl plot.

Description

Function for extracting the view point of an rgl plot.

Usage

set.view3d(
  view = c("free", "top", "bottom", "south", "west", "north", "east"),
  cs.pos = "g",
  cs.view = "g",
  rtzv = 0
)

Arguments

view

defines the view point of the user and has 4 possible values:

cs.pos

defines the coordinate system to use when generating the points. Given as one of "g" or "v" representing the global coordinate and the coordinate system of the vessel. If given as a three element vector, 'cs.pos' is interpreted as c(cs.pos,cs.view).

cs.view

defines the coordinate system to use when specifying the view point. Given as one of "g" or "v" representing the global coordinate and the coordinate system of the vessel.

rtzv

is the heading of the vessel.


arnejohannesholmin/cpplot3d documentation built on April 14, 2024, 11:36 p.m.