Files
modeling-app/docs/kcl-std/legAngX.md
Nick Cameron 574d6dae7f Add modules to docs (#6699)
* Support modules in docs

Signed-off-by: Nick Cameron <nrc@ncameron.org>

* shuffle around directories

Signed-off-by: Nick Cameron <nrc@ncameron.org>

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-05-06 11:02:55 +12:00

712 B

title, excerpt, layout
title excerpt layout
legAngX 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

Tags

  • utilities

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

Examples

legAngX(hypotenuse = 5, leg = 3)