Log InSign Up
Docs
    kcl-std → functions → legAngX

    legAngXFunction in std::math

    Compute the angle of the given leg for x.

    legAngX(
      hypotenuse: number(Length),
      leg: number(Length),
    ): number(deg)
    

    Arguments

    NameTypeDescriptionRequired
    hypotenusenumber(Length)The length of the triangle's hypotenuse.Yes
    legnumber(Length)The length of one of the triangle's legs (i.e. non-hypotenuse side).Yes

    Returns

    number(deg) - A number.

    Examples

    legAngX(hypotenuse = 5, leg = 3)
    
    
    Found a typo?
    Zoo

    8701 Aviation Blvd

    Inglewood, California 90301

      Product
    • Zoo Design Studio
    • Text-to-CAD
    • Download App
    • Release Notes
      Company
    • Careers
    • Research
    • Blog
    • Contact Sales
      Pricing
    • Zoo Design Pricing
    • API Pricing
      Resources
    • Tutorials
    • Developers
    • Support
    • Terms & Conditions
    • Privacy Policy
    • Security

    Copyright © 2025 ZOO CORPORATION All rights reserved.