source: other-projects/playing-in-the-street/summer-2013/trunk/Playing-in-the-Street-WPF/Content/Web/mrdoob-three.js-4862f5f/docs/api/extras/geometries/CircleGeometry.html@ 28897

Last change on this file since 28897 was 28897, checked in by davidb, 10 years ago

GUI front-end to server base plus web page content

File size: 1.3 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8" />
5 <script src="../../../list.js"></script>
6 <script src="../../../page.js"></script>
7 <link type="text/css" rel="stylesheet" href="../../../page.css" />
8 </head>
9 <body>
10 <h1>[name]</h1>
11
12 <div class="desc">CircleGeometry is a simple shape of Euclidean geometry. It is contructed from a number of triangular segments that are oriented around a central point and extend as far out as a given radius. It is built counter-clockwise from a start angle and a given central angle. It can also be used to create regular polygons, where the number of segments determines the number of sides.
13 </div>
14
15 <h2>Constructor</h2>
16
17 <h3>[name]([page:Float radius], [page:Integer segments], [page:Float thetaStart], [page:Float thetaLength])</h3>
18 <div>
19 radius — Radius of the circle, default = 50.<br />
20 segments — Number of segments (triangles), minimum = 3, default = 8.<br />
21 thetaStart — Start angle for first segment, default = 0 (three o'clock position).<br />
22 thetaLength — The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete circle.
23 </div>
24
25
26 <h2>Source</h2>
27
28 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
29 </body>
30</html>
Note: See TracBrowser for help on using the repository browser.