Create a plane whose normal vector is at the given azimuth and elevation.
(azimuth, elevation, x, y)
| 1139 | """ |
| 1140 | |
| 1141 | def plane(azimuth, elevation, x, y): |
| 1142 | """ |
| 1143 | Create a plane whose normal vector is at the given azimuth and |
| 1144 | elevation. |
| 1145 | """ |
| 1146 | theta, phi = _azimuth2math(azimuth, elevation) |
| 1147 | a, b, c = _sph2cart(theta, phi) |
| 1148 | z = -(a*x + b*y) / c |
| 1149 | return z |
| 1150 | |
| 1151 | def angled_plane(azimuth, elevation, angle, x, y): |
| 1152 | """ |
no test coverage detected
searching dependent graphs…