project | R Documentation |
Converts 3d co-ordinates into 2d co-ordinates.
project( x, x0, x1, y, y0, y1, z, z0, z1, cameraXYZ = c(0, 0, 0), thetaXYZ = c(0, 0, 0), surfaceXYZ = c(0, 0, 0), prepareBackCull = TRUE )
x, y, z |
co-ordinates for points, polygons, etc |
x0, x1, y0, y1, z0, z2 |
co-ordiantes for lines |
cameraXYZ |
co-ordinates for the camera |
thetaXYZ |
direction of the camera |
surfaceXYZ |
location of the surface |
Uses conventions fromm physics. To Do: Add mathematics convention.
Returns a list with x and y co-ordinates.
print(1+1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.