Function for extracting the view point of an rgl plot.

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

`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 March 19, 2018, 9:15 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.