Description Usage Arguments Value Author(s)
Determine if a line intersects one or more line segments. The segments are all pairwise combinations of points from a set of points
1 | centersLineSegmentIntersections(tangent, centers)
|
tangent |
a three-item numeric vector containing the coefficients, a, b and c for a line in two-dimensions defined by ax + by + c = 0 |
centers |
a two-column numeric matrix containing the x and y coordinates for a set of points to be used as the endpoints for the line segments |
a Boolean variable. FALSE if the line intersects any of the segments. TRUE otherwise
Elliot Noma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.