You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							51 lines
						
					
					
						
							1.5 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							51 lines
						
					
					
						
							1.5 KiB
						
					
					
				
								<!DOCTYPE html>
							 | 
						|
								<html lang="ko">
							 | 
						|
									<head>
							 | 
						|
										<meta charset="utf-8" />
							 | 
						|
										<base href="../../../" />
							 | 
						|
										<script src="page.js"></script>
							 | 
						|
										<link type="text/css" rel="stylesheet" href="page.css" />
							 | 
						|
									</head>
							 | 
						|
									<body>
							 | 
						|
										<h1>[name]</h1>
							 | 
						|
								
							 | 
						|
										<p class="desc">
							 | 
						|
										shape에 대한 기능 함수를 포함하는 클래스입니다.<br /><br />
							 | 
						|
								
							 | 
						|
										이 함수들은 모두 일차함수이므로 벡터의 x, y(z, w 가 있는 경우 해당포함) 컴포넌트에 대해 별도로 계산할 필요가 있습니다.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
								
							 | 
						|
										<h2>메서드</h2>
							 | 
						|
								
							 | 
						|
										<h3>[method:Number area]( contour )</h3>
							 | 
						|
										<p>
							 | 
						|
										contour -- 2D 폴리곤입니다. THREE.Vector2() 배열입니다.<br /><br />
							 | 
						|
								
							 | 
						|
										( 2D ) 윤곽 폴리곤의 면적을 계산합니다.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h3>[method:Boolean isClockWise]( pts )</h3>
							 | 
						|
										<p>
							 | 
						|
										pts -- 2D 폴리곤을 정의하는 점들입니다<br /><br />
							 | 
						|
								
							 | 
						|
										일차함수이므로 벡터의 x, y 컴포넌트에 대해 별도로 계산해야 하는 점에 주의해주세요.<br /><br />
							 | 
						|
								
							 | 
						|
										[page:Path Path], [page:ExtrudeGeometry ExtrudeGeometry] 및 [page:ShapeGeometry ShapeGeometry]에서 내부적으로 사용됩니다.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h3>[method:Array triangulateShape]( contour, holes )</h3>
							 | 
						|
										<p>
							 | 
						|
										contour -- 2D 폴리곤.<br />
							 | 
						|
										holes -- holes 배열<br /><br />
							 | 
						|
								
							 | 
						|
										[page:ExtrudeGeometry ExtrudeGeometry] 및 [page:ShapeGeometry ShapeGeometry]에서 내부적으로 holes와 함께 shape의 면을 계산하기 위해 사용됩니다.
							 | 
						|
										</p>
							 | 
						|
								
							 | 
						|
										<h2>소스코드</h2>
							 | 
						|
								
							 | 
						|
										<p>
							 | 
						|
											[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
							 | 
						|
										</p>
							 | 
						|
									</body>
							 | 
						|
								</html>
							 | 
						|
								
							 |