* updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * add consts to dir Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * add consts to dir Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
		
			
				
	
	
		
			29 lines
		
	
	
		
			106 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			106 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						||
title: "std::math::PI"
 | 
						||
excerpt: "The value of `pi`, Archimedes’ constant (π)."
 | 
						||
layout: manual
 | 
						||
---
 | 
						||
 | 
						||
The value of `pi`, Archimedes’ constant (π).
 | 
						||
 | 
						||
 | 
						||
 | 
						||
```js
 | 
						||
std::math::PI: number = 3.14159265358979323846264338327950288_
 | 
						||
```
 | 
						||
 | 
						||
### Examples
 | 
						||
 | 
						||
```js
 | 
						||
circumference = 70
 | 
						||
 | 
						||
exampleSketch = startSketchOn("XZ")
 | 
						||
 |> circle(center = [0, 0], radius = circumference/ (2 * PI))
 | 
						||
 | 
						||
example = extrude(exampleSketch, length = 5)
 | 
						||
```
 | 
						||
 | 
						||

 | 
						||
 | 
						||
 |