Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

line2plane

get intersection between a line and a plane


Description

get intersection between a line and a plane

Usage

line2plane(ptLine, ptDir, planePt, planeNorm)

Arguments

ptLine

vector of length 3: point on line

ptDir

vector of length 3: direction vector of line

planePt

vector of length 3: point on plane

planeNorm

vector of length 3: plane normal vector

Value

hit point

Note

in case you only have three points on a plane (named pt1, pt2, pt3 you can get the plane's normal by calling crossProduct(pt1-pt2,pt1-pt3).


Morpho

Calculations and Visualisations Related to Geometric Morphometrics

v2.8
GPL-2
Authors
Stefan Schlager [aut, cre, cph], Gregory Jefferis [ctb], Dryden Ian [cph]
Initial release
2020-02-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.