plane_coefficients | R Documentation |
Find the coefficients of the plane equation
plane_coefficients(p, n)
p |
A point on the plane (or N x 3 matrix of multiple points) |
n |
vector normal to the plane (or N x 3 matrix of multiple vectors) |
Both p
and n
can accept multiple points/vectors to
calculate many planes at once.
a matrix with 4 columns a,b,c,d
where ax + by + cz + d =
0
Other geometry:
intersect_plane()
# Mushroom Body Entry Point - plane perpendicular to axon tract as
# projection neurons enter mushroom body calyx
mbe=plane_coefficients(p=c(207, 102, 142), n=c(.6,-0.1,0.3))
## Not run:
plot3d(Cell07PNs)
planes3d(mbe[1:3], d=mbe[4])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.