geo_intersec_circl_line | R Documentation |
Intersection point(s) of line and a circle
geo_intersec_circl_line(R, o, m, b)
R |
Radius of the circle |
o |
Position vector of the circle |
m |
solpe of linear function |
b |
intersect of linear function |
Computes the intersecting point of a line and a circle. The line is a linear function such as y=mx+b
. The circle in the form (x-o_1)^2+(y-o_1)^2 = R^2
.
Check geo_interSec_sph_line()
for 3D version.
list of intersecting points
Florian Wagner florian.wagner@wagnius.ch
R <- 1; o <- c(1.2,0.9); R <- 1; m <- 1; b <- 0.8;
geo_intersec_circl_line(R,o,m,b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.