Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!apple!motcsd!hpda!hpcuhb!hp-ses!hpdml93!libbyb From: libbyb@hpdml93.HP.COM (Libby Bagley) Newsgroups: comp.graphics Subject: Re: Line Math Message-ID: <390001@hpdml93.HP.COM> Date: 27 Jul 89 19:19:17 GMT References: Organization: Hewlett Packard - Boise, ID Lines: 12 / hpdml93:comp.graphics / js9b+@andrew.cmu.edu (Jon C. Slenk) / 4:44 pm Jul 22, 1989 / This is a somewhat simplistic question: Given two points (a and b, defining a line), how can I calculate a points that is x units from point a along that line? What's wrong with linear interpolation? x = (1-t) * a + t * b where, t is units usually [0,1] a,b,x are points (either two or three dimensional)