Description Usage Arguments Value
View source: R/findIntersect.R
Find if a line intersects a convex polytope
1 | findIntersect(p0, p1, vertices, normalvectors)
|
p0 |
The start of the line |
p1 |
The end of the line |
vertices |
A matrix, each column giving a vertex for each face, ordered as normalvectors |
normalvectors |
A matrix, each column giving a normal vector for each face, ordered as vertices |
FALSE if no intersection found. List of entry and exit points if interset is found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.