Rogii Solo.Calculations.Base¶ Functions¶ calc_hypotenuse_length(→ Optional[float]) calc_atan2(→ Optional[float]) calc_vs(→ Optional[float]) calc_shape_factor(→ Optional[float]) normalize_angle(→ float) get_nearest_values(→ Any) interpolate_linear(→ Optional[float]) calc_segment_dip(→ Optional[float]) get_most_common(→ Any) find_by_key(→ Dict[str, Any]) find_last_by_key(→ Dict[str, Any]) find_by_md(→ Dict[str, Any]) find_last_by_md(→ Dict[str, Any]) calc_segment_vs_length(→ float) Azimuth in radians Module Contents¶ calc_hypotenuse_length(cathetus1: float, cathetus2: float) → float | None¶ calc_atan2(y: float, x: float) → float | None¶ calc_vs(angle: float, distance: float, direction: float) → float | None¶ calc_shape_factor(dog_leg: float) → float | None¶ normalize_angle(angle: float) → float¶ get_nearest_values(value: Any, input_list: List[Any], key: Callable[[T], V] | None = None) → Any¶ interpolate_linear(x0: float, y0: float, x1: float, y1: float, x: float) → float | None¶ calc_segment_dip(delta_x: float, delta_y: float) → float | None¶ get_most_common(input_list: List[Any]) → Any¶ find_by_key(key: str, value: float, input_list: List[Dict[str, Any]]) → Dict[str, Any]¶ find_last_by_key(key: str, value: float, input_list: List[Dict[str, Any]]) → Dict[str, Any]¶ find_by_md(value: float, input_list: List[Dict[str, Any]]) → Dict[str, Any]¶ find_last_by_md(value: float, input_list: List[Dict[str, Any]]) → Dict[str, Any]¶ calc_segment_vs_length(x1: float, y1: float, x2: float, y2: float, azimuth_vs: float) → float¶ Azimuth in radians Segment start point (x1, y1) Segment end point (x2, y2)