geo_intersec_plane_line: Intersection of a plane and a line

View source: R/geometry.R

geo_intersec_plane_lineR Documentation

Intersection of a plane and a line

Description

Function returning intersecting point of a plane and a 3D-line if it exists.

Usage

geo_intersec_plane_line(p, n, s, w)

Arguments

p

position vector for the plane

n

normal vector of the plane

s

position vector of the line

w

direction vector of the line

Value

named vector (Intersecting point)

Author(s)

Florian Wagner florian.wagner@wagnius.ch

Examples

geo_intersec_plane_line(p = c(0,0,0),n = c(0,0,1),s = c(-1,-1,1), w = c(1,1,-1))

wagnius-GmbH/slvwagner documentation built on Jan. 19, 2025, 7:10 a.m.