* Fake modules for Rust std lib functions Signed-off-by: Nick Cameron <nrc@ncameron.org> * Include the missing @ in Rust std lib fns Signed-off-by: Nick Cameron <nrc@ncameron.org> * Move revolve and mirror2d to better modules Signed-off-by: Nick Cameron <nrc@ncameron.org> * Use docs from KCL mods for type summaries Signed-off-by: Nick Cameron <nrc@ncameron.org> * Use type docs to describe types from KCL std lib Signed-off-by: Nick Cameron <nrc@ncameron.org> --------- Signed-off-by: Nick Cameron <nrc@ncameron.org>
		
			
				
	
	
		
			38 lines
		
	
	
		
			709 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			709 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
title: "std::math::legAngY"
 | 
						|
excerpt: "Compute the angle of the given leg for y."
 | 
						|
layout: manual
 | 
						|
---
 | 
						|
 | 
						|
Compute the angle of the given leg for y.
 | 
						|
 | 
						|
 | 
						|
 | 
						|
```kcl
 | 
						|
legAngY(
 | 
						|
  hypotenuse: number,
 | 
						|
  leg: number,
 | 
						|
): number
 | 
						|
```
 | 
						|
 | 
						|
### Arguments
 | 
						|
 | 
						|
| Name | Type | Description | Required |
 | 
						|
|----------|------|-------------|----------|
 | 
						|
| `hypotenuse` | [`number`](/docs/kcl-std/types/std-types-number) | The length of the triangle's hypotenuse | Yes |
 | 
						|
| `leg` | [`number`](/docs/kcl-std/types/std-types-number) | The length of one of the triangle's legs (i.e. non-hypotenuse side) | Yes |
 | 
						|
 | 
						|
### Returns
 | 
						|
 | 
						|
[`number`](/docs/kcl-std/types/std-types-number) - A number
 | 
						|
 | 
						|
 | 
						|
### Examples
 | 
						|
 | 
						|
```kcl
 | 
						|
legAngY(hypotenuse = 5, leg = 3)
 | 
						|
```
 | 
						|
 | 
						|
 | 
						|
 |