Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Friends
here I am trying to find out the point which is located between of A and B.
I have two points,
A(2,2)
B(3.72,26.74)
distance between AB is 25.434
now, I want to find a point located on AB which has distance 1/3(25.434) from A
and 2/3(25.434) from B.
so is there any method or code for this solutions
Posted

1 solution

((b-a)*.333)+a

it's vector math
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900