c# Programming Glossary: bx
How to tell whether a point is to the right or left of a line http://stackoverflow.com/questions/1560492/how-to-tell-whether-a-point-is-to-the-right-or-left-of-a-line vectors AB AM where M X Y is the query point position sign Bx Ax Y Ay By Ay X Ax It is 0 on the line and 1 on one side 1 on..
Geographic Midpoint between two coordinates http://stackoverflow.com/questions/4164830/geographic-midpoint-between-two-coordinates dLon DegreesToRadians posB.Longitude posA.Longitude double Bx Math.Cos DegreesToRadians posB.Latitude Math.Cos dLon double.. Math.Sqrt Math.Cos DegreesToRadians posA.Latitude Bx Math.Cos DegreesToRadians posA.Latitude Bx By By midPoint.Longitude.. posA.Latitude Bx Math.Cos DegreesToRadians posA.Latitude Bx By By midPoint.Longitude posA.Longitude RadiansToDegrees Math.Atan2..
|