plane_translate_along_normal, face_translate_along_normal - translate a plane or face some distance in the direction of the normal |
#include <matvec.h> void plane_translate_along_normal (const float *plane, float distance, float *new_plane); void face_translate_along_normal (const float *points, int nr_points, const float *plane, float distance, float *new_points, float *new_plane); |
Given an existing plane (expressed as plane coefficients), produce a new plane new_plane which has been translated by distance units along the direction of the normal. The new plane is also returned as plane coefficients. |
face_translate_along_normal is similar, except that it also translates a list of points by the same distance. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |
plane_coefficients(3). |