A
Ashutosh Iddya
HI,
How do you find the other endpoint of a line given one endpoint and the
slope of the line.
Also how do you display the coordinate on the computer screen knowing
that the Y axis (of the raster display) runs in the reverse direction of
a normal graph.
ex: given two points
x1 = 100
y1 = 600
and given an angle
45 degrees ie the slope(m)of the line is 1
and given the distance of 206 units
how do I find x2 and y2(the other endpoint of the line)?
how do i display it on the computer screen.
thanks,
Ashutosh
How do you find the other endpoint of a line given one endpoint and the
slope of the line.
Also how do you display the coordinate on the computer screen knowing
that the Y axis (of the raster display) runs in the reverse direction of
a normal graph.
ex: given two points
x1 = 100
y1 = 600
and given an angle
45 degrees ie the slope(m)of the line is 1
and given the distance of 206 units
how do I find x2 and y2(the other endpoint of the line)?
how do i display it on the computer screen.
thanks,
Ashutosh