Files
modeling-app/docs/kcl-std/legAngX.md
2025-05-06 15:33:23 -07:00

732 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: number,
  leg: number,
): number

Arguments

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

Returns

number - A number

Examples

legAngX(hypotenuse = 5, leg = 3)