plane_translate_along_normal

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION
SEE ALSO

NAME

plane_translate_along_normal, face_translate_along_normal - translate a plane or face some distance in the direction of the normal

SYNOPSIS

#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);

DESCRIPTION

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.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

c2lib-1.2.13

SEE ALSO

plane_coefficients(3).