Hul Tytus
2018-02-26 23:11:49 UTC
comp.graphics.algorithms
extending a line in xyz notation
I'm in need of a routine for extending a line as shown by the beginnings
below. As can be seen, it is the merest start. Anyone have some code that does
the job or maybe a suggestion or two? Would appreciate it.
Hul
/*
extend a line dst distance from pt1 perpendicular to line to pt2 and in
the plane and direction defined by pt3. res[] is for the point at the
end of the extended line.
*/
whatev(pt1, pt2, pt3, dst, res)
double pt1[], pt2[], pt3[];
double dst, res[];
{
extending a line in xyz notation
I'm in need of a routine for extending a line as shown by the beginnings
below. As can be seen, it is the merest start. Anyone have some code that does
the job or maybe a suggestion or two? Would appreciate it.
Hul
/*
extend a line dst distance from pt1 perpendicular to line to pt2 and in
the plane and direction defined by pt3. res[] is for the point at the
end of the extended line.
*/
whatev(pt1, pt2, pt3, dst, res)
double pt1[], pt2[], pt3[];
double dst, res[];
{