normal3d | R Documentation |
normal3d()
is an S3 generic that computes a 3D normal vector.
normal3d(x, ...)
## S3 method for class 'Coord3D'
normal3d(x, cross, ..., normalize = TRUE)
## S3 method for class 'character'
normal3d(x, ..., normalize = TRUE)
## S3 method for class 'Plane3D'
normal3d(x, ..., normalize = TRUE)
x |
Object to compute a 3D normal vector for such as a Plane3D object |
... |
Passed to other methods such as |
cross |
A Coord3D vector.
We'll compute the normal of |
normalize |
If |
A Coord3D (normal) vector
normal3d("xy-plane")
normal3d(as_coord3d(2, 0, 0), cross = as_coord3d(0, 2, 0))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.