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/TorusKnotGeometry.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 [page:Geometry] &rarr;
11
12 <h1>[name]</h1>
13
14 <div class="desc">Creates a torus knot, the particular shape of which is defined by a pair of coprime integers, p and q. If p and q are not coprime, the result will be a torus link.</div>
15
16
17 <h2>Constructor</h2>
18
19
20 <h3>[name]([page:Float radius], [page:Float tube], [page:Integer radialSegments], [page:Integer tubularSegments], [page:Integer p], [page:Integer q], [page:Float heightScale])</h3>
21 <div>
22 radius — Default is 100. <br />
23 tube — Default is 40. <br />
24 radialSegments — Default is 64. <br />
25 tubularSegments — Default is 8. <br />
26 p — Default is 2. <br />
27 q — Default is 3. <br />
28 heightScale — Default is 1.
29 </div>
30
31
32 <h2>Properties</h2>
33
34
35 <div>
36 Each of the contructor parameters is accessible as a property of the same name. Any modification of these properties after instantiation does not change the geometry.
37 </div>
38
39
40 <h2>Source</h2>
41
42 [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
43 </body>
44</html>
Note: See TracBrowser for help on using the repository browser.