Files
modeling-app/docs/kcl-std/functions/std-math-legAngX.md
2025-06-19 17:08:46 +12:00

846 B

title, subtitle, excerpt, layout
title subtitle excerpt layout
legAngX Function in std::math Compute the angle of the given leg for x. manual

Compute the angle of the given leg for x.

legAngX(hypotenuse = 5, leg = 3)

Arguments

Name Type Description Required
hypotenuse number(Length) The length of the triangle's hypotenuse. Yes
leg number(Length) The length of one of the triangle's legs (i.e. non-hypotenuse side). Yes

Returns

number(deg) - A number.

Function signature

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

Examples

legAngX(hypotenuse = 5, leg = 3)