Original Post
Hi guys,
I know that this s a stupid question and that I studied these stuff when I was at school but I really need your supper and help.
I have a problem:
I have a segment from P1 and P2 and I would like to draw a little segment from the middle of the segment that is perpendicular to it. So I have to find two point: the middle point of the segment that is (P1.X + P2.X)/2 and (P1.Y + P2.Y)/2
and the other point that is along the perpendicular of the segment. I really don''t know how to find it. Please help