geo_interSec_sph_line | R Documentation |
Intersection point(s) of line and sphere.
geo_interSec_sph_line(p, u, m, r)
p |
position vector for the line c(x = ,y = ,z = ) |
u |
direction vector for the line c(x = ,y = ,z = ) |
m |
position vector of the centre of the sphere c(x = ,y = ,z = ) |
r |
radius of the sphere |
Computes the intersecting point(s) of a line and the surface of a spear.
Check geo_intersec_circl_line()
for 2D version.
list of intersecting point(s)
Florian Wagner florian.wagner@wagnius.ch
p <- c(x = 1, y = -2, z = 3)
u <- c(x = 1, y = 0, z = 1)
m <- c(1,-2,4)
r <- 1
geo_interSec_sph_line(p, u, m, r)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.