Written by Thanatos

Geometry Tools

Contents: Within' these tools you will find:
1.The Distance Calculator: a useful Tool in which it will find the length of a line for you, all you have to do is give the coordinates of the two points you have found, and it'll do the dirty work for you! Here is the formula: D = the square root of: (X2-X1)² + (Y2 - Y1


2.The mid-point calculator: this will find the exact coordinate of the middle point of one line. The formula is given.


Distance

X2 X1 Y 2 Y1




 

Mid-Point Calculator

Explanation: Here we will be looking at midpoints. This of course being the exact middle coordinate of a line. Javascript will calculate this for you!


Mid-point

M= X1 + X2 /2 , Y1 + Y2 /2



Note: If you still can't tell what the hell that is, just look. X1 is your first coordinate of say point A for instance. A being (-3,5) in this condition, so X1 would be -3. Y1 would be 5. But X2 would be your second point or coordinate set such as point B. In this example B would be (4,-8) so thus X2 would be 4 and Y2 would be -8. And to get your Midpoint you divide 'em by 2. Get it? Good...