1
0
forked from HQU-gxy/CVTH3PE
Files
CVTH3PE/playground.py
crosstyan d9aaa96d0a refactor: Enhance type hints and documentation for distance calculation functions in playground.py
- Updated the return type of `perpendicular_distance_point_to_line_two_points` to `Float[Array, ""]` for improved type clarity.
- Added detailed docstrings to `perpendicular_distance_point_to_line_two_points`, specifying arguments and return values for better understanding.
- Streamlined the distance calculation in `perpendicular_distance_camera_2d_points_to_tracking_raycasting` by removing unnecessary type casting, enhancing code readability.
2025-04-27 18:08:45 +08:00

26 KiB