findIntersect: Find if a line intersects a convex polytope

Description Usage Arguments Value

View source: R/findIntersect.R

Description

Find if a line intersects a convex polytope

Usage

1
findIntersect(p0, p1, vertices, normalvectors)

Arguments

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

Value

FALSE if no intersection found. List of entry and exit points if interset is found.


mickash/DTFE documentation built on Nov. 16, 2019, 1:49 p.m.