cap_distance¶
- pydl.pydlutils.mangle.cap_distance(x, cm, points)[source]¶
Compute the distance from a point to a cap, and also determine whether the point is inside or outside the cap.
- Parameters:
- Returns:
ndarray
The distance(s) to the point(s) in degrees. If the distance is negative, the point is outside the cap.