File size: 841 Bytes
8adf0de
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
Utils Package
=============
Utility functions for the Traffic Accident Reconstruction System.
"""

from .helpers import (
    calculate_distance,
    calculate_bearing,
    interpolate_path,
    estimate_speed_at_point,
    find_intersection_point,
    calculate_impact_angle,
    estimate_stopping_distance,
    format_duration,
    format_speed,
    format_distance,
    validate_coordinates,
    validate_speed,
    generate_unique_id,
    get_timestamp
)

__all__ = [
    'calculate_distance',
    'calculate_bearing',
    'interpolate_path',
    'estimate_speed_at_point',
    'find_intersection_point',
    'calculate_impact_angle',
    'estimate_stopping_distance',
    'format_duration',
    'format_speed',
    'format_distance',
    'validate_coordinates',
    'validate_speed',
    'generate_unique_id',
    'get_timestamp'
]