Docs.rs
  • kcl-lib-0.1.19
    • kcl-lib 0.1.19
    • Docs.rs crate page
    • MIT
    • Links
    • crates.io
    • Source
    • Owners
    • adamchalmers
    • jessfraz
    • github:kittycad:crate-owners
    • Dependencies
      • anyhow ^1.0.75 normal
      • clap ^4.4.2 normal
      • dashmap ^5.5.3 normal
      • derive-docs ^0.1.1 normal
      • kittycad ^0.2.23 normal
      • lazy_static ^1.4.0 normal
      • parse-display ^0.8.2 normal
      • regex ^1.7.1 normal
      • schemars ^0.8 normal
      • serde ^1.0.152 normal
      • serde_json ^1.0.93 normal
      • thiserror ^1.0.47 normal
      • ts-rs-json-value ^7 normal
      • uuid ^1.4.1 normal
      • expectorate ^1.0.7 dev
      • itertools ^0.11.0 dev
      • pretty_assertions ^1.4.0 dev
      • tokio ^1.32.0 dev
      • bson ^2.7.0 normal
      • futures ^0.3.28 normal
      • reqwest ^0.11.20 normal
      • tokio ^1.32.0 normal
      • tokio-tungstenite ^0.20.0 normal
      • tower-lsp ^0.20.0 normal
      • js-sys ^0.3.64 normal
      • tower-lsp ^0.20.0 normal
      • wasm-bindgen ^0.2.87 normal
      • wasm-bindgen-futures ^0.4.37 normal
    • Versions
    • 40.22% of the crate is documented
  • Go to latest version
  • Platform
    • i686-unknown-linux-gnu
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation
logo

logo

Module utils

  • Functions
?
Change settings

Module kcl_lib::std::utils

source ·

Functions

  • arc_angles
  • arc_center_and_end
  • calculate_intersection_of_two_lines
  • clockwise_sign
  • delta_angle
    Gives the ▲-angle between from and to angles (shortest path), use radians.
  • distance_between_points
    Calculates the distance between two points.
  • get_angle
  • get_x_component
  • get_y_component
  • intersect
  • intersection_with_parallel_line
  • is_on_circumference
  • normalise_angle
  • normalize_rad