Home > Back-end >  According to A, B point of latitude and longitude, whether B within the coverage of A point
According to A, B point of latitude and longitude, whether B within the coverage of A point

Time:10-12

Known A and B points of latitude and longitude, radius R, A, azimuth Angle, to determine whether A point B within the scope of A
With the dot, the position of A 120 - degree arc radius R picture, the center line is A district covers the direction, that is A draw arc to the community, whether B within its arc covering location

Which master can solve them

CodePudding user response:

The line ab and arc of a node can be calculated

CodePudding user response:

Computing Angle can be

CodePudding user response:

Radius R is curve, the surface of a sphere or a string!

CodePudding user response:

1) B ~ A arc length & lt; R (the radius is the arc length), or chord length BA & lt; R () radius is chord length
2) diretBA in (alphla, theta);
3) spherical coordinate system, and the rectangular coordinate system transformation,

CodePudding user response:

In fact can be simplified into ab distance and azimuth calculation,
  • Related