Content deleted Content added
Include basic overview and pseudocode |
m →Overview: wording |
||
Line 12:
* <math>Support(shape, \vec{d})</math>, which returns the point on <math>shape</math> which has the highest dot product with <math>\vec{d}</math>.
* <math>NearestSimplex(s)</math>, which takes a simplex <math>s</math> and returns the simplex on <math>s</math> closest to the origin, and a direction toward the origin normal to the new simplex
The simplecies handled by <math>NearestSimplex</math> may each be any simplex sub-space of {{math|'''R'''<sup>''n''</sup>}}. For example in 3D, they may be a point, a line segment, a triangle, or a tetrahedron; each defined by 1, 2, 3, or 4 points respectively.
|