Forgive my lack of math knowledge, its been a while since I've needed any of this. I'm attempting to programmatically find the distance between a point and the intersection directly below the point along the hypotenuse of a triangle.
Here is my scenario. All points have known x/y coordinates, I'm just trying to solve for the distance "A". The intersection point is directly vertical. I'll eventually have to do this horizontal as well, but I imagine if I can make it work vertical it shouldn't be too difficult to flip it horizontal.