Hi, this is my first post so I hope I've got the format ok.
This is a puzzle I seem to have landed myself in. It has a real-world application. I am tying myself in knots with trying to solve it:
I am to be given 3 coordinates which describe a triangle. (x1,y1)(x2,y2)(x3,y3) All sides will be at least 100 units long. I will be asked to remove a parallel "slice" 35 units wide off one of the sides. eg (x2,y2)(x3,y3). I'm trying to define a formula which will return the three new coordinates for any triangle and for any side being sliced.
Here's an example image. What formula would you suggest to find the new values (x1,y1) and (x2,y2), in red?
This is a puzzle I seem to have landed myself in. It has a real-world application. I am tying myself in knots with trying to solve it:
I am to be given 3 coordinates which describe a triangle. (x1,y1)(x2,y2)(x3,y3) All sides will be at least 100 units long. I will be asked to remove a parallel "slice" 35 units wide off one of the sides. eg (x2,y2)(x3,y3). I'm trying to define a formula which will return the three new coordinates for any triangle and for any side being sliced.
Here's an example image. What formula would you suggest to find the new values (x1,y1) and (x2,y2), in red?