Files
modeling-app/docs/kcl/legAngX.md
Nick Cameron c050739f41 Some improvements to the boxed signatures in the docs (#6593)
* Show a more reasonable name in function docs

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

* Fix buggy docs for union types

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

* Make types in the docs signatures into links

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

---------

Signed-off-by: Nick Cameron <nrc@ncameron.org>
2025-04-30 16:03:22 +00:00

748 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](/docs/kcl/types/number),
  leg: [number](/docs/kcl/types/number),
): [number](/docs/kcl/types/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)