extend | R Documentation |
Starting at 'initial', go in 'direction' until you hit the target plane defined by 'target_point' and 'target_normal'. If you want to include vectors going backwards, specify 'include_backwards=TRUE'.
extend( initial, direction, target_normal, target_point = c(0, 0, 0), include_backwards = F )
initial |
Starting point for the ray |
direction |
Direction from which to cast the ray |
target_normal, target_point |
Define the plane that will catch the rays |
include_backwards |
Whether to include rays that travel backwards from 'initial' along 'direction' to the target plane. |
This function is intended to be used in conjuction with a plot e.g., to show where a peron was looking or where an object was pointing over the course of time or sessions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.