Coordinates of the third point
Posted by: fredometro on
Jan 6th, 2004 |
Filed under: MS-Access
Quertion: Hi!
How would you calculate the coordinate of a third point I have already two points, distances and angles from these points to the third point. I want to do triangulation and I don’t know which formula to apply.
Thanks
Hi!
Try the function below:
Global Const PI = 3.14159265358979
Public Function calRayonnement(Xa, Ya, DistanceAC, AngleInDegrees, OutputsXcOrNotXcAsResult As Boolean)
‘ Ray calculate next point coordinates from angle & distance.
‘ Xa , Xb are the coordinnates for starting point
‘ DistanceAC : Distance to measured point
‘ AngleInDegrees : as named
‘ OutputsXcOrNotXcAsResult = True, function will return Xc otherwise Yc, the coordinates of measures point
Dim Xc, Yc, glAB, lnV, lnH, lnD
Dim AngleInGradient
AngleInGradient = AngleInDegrees / 180 * PI
Xc = Xa + DistanceAC * Sin(AngleInGradient)
Yc = Ya + DistanceAC * Cos(AngleInGradient)
Debug.Print
Debug.Print “Xc = ” & Xc
Debug.Print “Yc = ” & Yc
If OutputsXcOrNotXcAsResult Then calRayonnement = Xc Else calRayonnement = Yc
End Function
Output of these functions:


December 12th, 2009 at 4:51 am
Bisexual Fuckers
December 12th, 2009 at 4:52 am
Morgan Dayne
December 12th, 2009 at 4:53 am
123 Amateur Amy
December 12th, 2009 at 4:54 am
Sweet Suzie
December 12th, 2009 at 4:55 am
Sweet Lucky
December 12th, 2009 at 4:56 am
123 Becky Black
December 12th, 2009 at 4:57 am
Sodomy Studs
December 12th, 2009 at 4:58 am
Big Tit Buffet
December 12th, 2009 at 4:59 am
Cuties In Heat
December 12th, 2009 at 5:00 am
Sarah Sexbiscuit
December 12th, 2009 at 5:01 am
Rachel Sexton
December 12th, 2009 at 5:03 am
Raw GFs
December 12th, 2009 at 5:04 am
Plompers
December 12th, 2009 at 5:05 am
Ass Teen Mouth
December 12th, 2009 at 5:06 am
Brandi Belle
December 12th, 2009 at 5:07 am
Amy Days
Add A Comment
You must be logged in to post a comment.