소스 검색

documented geometries

cjshannon 12 년 전
부모
커밋
0fa9f2ff56

+ 2 - 5
docs/api/extras/geometries/CircleGeometry.html

@@ -9,12 +9,9 @@
 	<body>
 		<h1>[name]</h1>
 
-		<div class="desc">CircleGeometry is a simple shape of Euclidean geometry, based on a number of 
-		segments (triangles) equidistant with a given radius from a central point and builded 
-		anti-clockwise from a start angle and a given circumference.
+		<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.
 		</div>
 
-
 		<h2>Constructor</h2>
 
 		<h3>[name]([page:Float radius], [page:Integer segments], [page:Float thetaStart], [page:Float thetaLength])</h3>
@@ -22,7 +19,7 @@
 		radius — Radius of the circle, default = 50.<br />
 		segments — Number of segments (triangles), minimum = 3, default = 8.<br />
 		thetaStart — Start angle for first segment, default = 0 (three o'clock position).<br />
-		thetaLength — Circumference of the circle, default = 2*Pi (360°).
+		thetaLength — The central angle, often called theta, of the circular sector. The default is 2*Pi, which makes for a complete circle.
 		</div>
 		
 

+ 4 - 10
docs/api/extras/geometries/ConvexGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+	
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,23 +17,15 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo vertices])</h3>
+		<h3>[name]([page:Array vertices])</h3>
 		<div>
-		vertices -- todo
+		vertice todo
 		</div>
 		<div>
 		todo
 		</div>
 
 
-		<h2>Properties</h2>
-
-
-
-		<h2>Methods</h2>
-
-
-
 		<h2>Source</h2>
 
 		[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]

+ 9 - 35
docs/api/extras/geometries/CubeGeometry.html

@@ -7,9 +7,11 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
-		<h1>CubeGeometry</h1>
+		[page:Geometry] &rarr;
+	
+		<h1>[name]</h1>
 
-		<div class="desc">CubeGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided within the (optional) 'width', 'height', and 'depth' constructor arguments.</div>
+		<div class="desc">CubeGeometry is the quadrilateral primitive geometry class. It is typically used for creating a cube or irregular quadrilateral of the dimensions provided with the 'width', 'height', and 'depth' constructor arguments.</div>
 
 
 		<h2>Constructor</h2>
@@ -20,44 +22,16 @@
 		width — Width of the sides on the X axis.<br />
 		height — Height of the sides on the Y axis.<br />
 		depth — Depth of the sides on the Z axis.<br />
-		widthSegments — Number of segmented faces along the width of the sides.<br />
-		heightSegments — Number of segmented faces along the height of the sides.<br />
-		depthSegments — Number of segmented faces along the depth of the sides.
+		widthSegments — Optional. Number of segmented faces along the width of the sides. Default is 1.<br />
+		heightSegments — Optional. Number of segmented faces along the height of the sides. Default is 1.<br />
+		depthSegments — Optional. Number of segmented faces along the depth of the sides. Default is 1.
 		</div>
 
 		<h2>Properties</h2>
 		
-		<h3>.[page:number heightSegments]</h3>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number widthSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:todo height]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:todo width]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:todo depth]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number depthSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h2>Methods</h2>
+		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.
+		</div>
 		
 		<h2>Source</h2>
 

+ 10 - 36
docs/api/extras/geometries/CylinderGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -17,48 +19,20 @@
 
 		<h3>[name]([page:Float radiusTop], [page:Float radiusBottom], [page:Float height], [page:Integer radiusSegments], [page:Integer heightSegments], [page:Boolean openEnded])</h3>
 		<div>
-		radiusTop — Radius of the cylinder at the top.<br />
-		radiusBottom — Radius of the cylinder at the bottom.<br />
-		height — Height of the cylinder.<br />
-		radiusSegments — Number of segmented faces around the circumference of the cylinder.<br />
-		heightSegments — Number of rows of faces along the height of the cylinder.<br />
-		openEnded - A Boolean indicating whether or not to cap the ends of the cylinder.
+		radiusTop — Radius of the cylinder at the top. Default is 20.<br />
+		radiusBottom — Radius of the cylinder at the bottom. Default is 20.<br />
+		height — Height of the cylinder. Default is 100.<br />
+		radiusSegments — Number of segmented faces around the circumference of the cylinder. Default is 8<br />
+		heightSegments — Number of rows of faces along the height of the cylinder. Default is 1.<br />
+		openEnded — A Boolean indicating whether the ends of the cylinder are open or capped. Default is false, meaning capped.
 		</div>
 
 
 		<h2>Properties</h2>
 
-
-
-		<h3>.[page:number radiusSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number radiusBottom]</h3>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:boolean openEnded]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number heightSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number radiusTop]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number height]</h3>
-		<div>
-		todo
-		</div> 
+		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.
+		</div>
 
 
 		<h2>Source</h2>

+ 7 - 5
docs/api/extras/geometries/ExtrudeGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">Creates extruded geometry from a path shape</div>
@@ -15,10 +17,10 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo shapes], [page:todo options])</h3>
+		<h3>[name]([page:todo shapes], [page:Object options])</h3>
 		<div>
-		shapes -- todo <br />
-		options -- todo
+		shapes  todo <br />
+		options  todo
 		</div>
 		<div>
 		todo
@@ -30,14 +32,14 @@
 
 		<h2>Methods</h2>
 
-		<h3>.addShapeList ( shapes, options )</h3>
+		<h3>.addShapeList ([page:todo shapes], [page:Object options])</h3>
 		<div>
 			shapes — todo <br />
 			options — todo
 		</div>
 		<div>todo</div>
 
-		<h3>.addShape ( shape, options )</h3>
+		<h3>.addShape ([page:todo shape], [page:Object options])</h3>
 		<div>
 			shape — todo <br />
 			options — todo

+ 6 - 15
docs/api/extras/geometries/IcosahedronGeometry.html

@@ -7,36 +7,27 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:PolyhedronGeometry] &rarr;
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">A class for generating an icosahedron geometry.</div>
 
 
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo radius], [page:todo detail])</h3>
+		<h3>[name]([page:Float radius], [page:Integer detail])</h3>
 		<div>
-		radius -- todo <br />
-		detail -- todo
-		</div>
-		<div>
-		todo
+		radius — Default is 1. <br />
+		detail — Default is 0.  Setting this to a value greater than 0 adds more vertices making it no longer an icosahedron.  When detail is greater than 1, it's effectively a sphere.
 		</div>
 
 
 		<h2>Properties</h2>
 
 
-
-		<h3>.[page:todo radius]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:todo detail]</h3>
 		<div>
-		todo
+		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.
 		</div>
 
 

+ 7 - 5
docs/api/extras/geometries/LatheGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,12 +17,12 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo points], [page:todo segments], [page:todo phiStart], [page:todo phiLength])</h3>
+		<h3>[name]([page:Array points], [page:Integer segments], [page:Float phiStart], [page:Float phiLength])</h3>
 		<div>
-		points -- todo <br />
-		segments -- todo <br />
-		phiStart -- todo <br />
-		phiLength -- todo
+		points  todo <br />
+		segments  todo <br />
+		phiStart  todo <br />
+		phiLength  todo
 		</div>
 		<div>
 		todo

+ 5 - 3
docs/api/extras/geometries/OctahedronGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:PolyhedronGeometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,10 +17,10 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo radius], [page:todo detail])</h3>
+		<h3>[name]([page:Float radius], [page:Integer detail])</h3>
 		<div>
-		radius -- todo <br />
-		detail -- todo
+		radius — Radius of the octahedron. Default is 1.<br />
+		detail — Default is 0.  Setting this to a value greater than zero add vertices making it no longer an octahedron.
 		</div>
 		<div>
 		todo

+ 7 - 5
docs/api/extras/geometries/ParametricGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,12 +17,12 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo func], [page:todo slices], [page:todo stacks], [page:todo useTris])</h3>
+		<h3>[name]([page:todo func], [page:todo slices], [page:todo stacks], [page:Boolean useTris])</h3>
 		<div>
-		func -- todo <br />
-		slices -- todo <br />
-		stacks -- todo <br />
-		useTris -- todo
+		func  todo <br />
+		slices  todo <br />
+		stacks  todo <br />
+		useTris  todo
 		</div>
 		<div>
 		todo

+ 9 - 29
docs/api/extras/geometries/PlaneGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,42 +17,20 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo width], [page:todo height], [page:todo widthSegments], [page:todo heightSegments])</h3>
+		<h3>[name]([page:Float width], [page:Float height], [page:Integer widthSegments], [page:Integer heightSegments])</h3>
 		<div>
-		width -- todo <br />
-		height -- todo <br />
-		widthSegments -- todo <br />
-		heightSegments -- todo
-		</div>
-		<div>
-		todo
+		width — Width along the X axis.<br />
+		height — Height along the Y axis.<br />
+		widthSegments — Optional. Default is 1. <br />
+		heightSegments — Optional. Default is 1.
 		</div>
 
 
 		<h2>Properties</h2>
 
-
-
-		<h3>.[page:todo width]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number heightSegments]</h3>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number widthSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:todo height]</h3>
-		<div>
-		todo
-		</div> 
-
+		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.
+		</div>
 
 		<h2>Source</h2>
 

+ 7 - 5
docs/api/extras/geometries/PolyhedronGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,12 +17,12 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo vertices], [page:todo faces], [page:todo radius], [page:todo detail])</h3>
+		<h3>[name]([page:Array vertices], [page:Array faces], [page:Float radius], [page:Integer detail])</h3>
 		<div>
-		vertices -- todo <br />
-		faces -- todo <br />
-		radius -- todo <br />
-		detail -- todo
+		vertices  todo <br />
+		faces  todo <br />
+		radius  todo <br />
+		detail  todo
 		</div>
 		<div>
 		todo

+ 10 - 11
docs/api/extras/geometries/RingGeometry.html

@@ -7,25 +7,24 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">A class for generating a two-dimensional ring geometry.</div>
 
 
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo innerRadius], [page:todo outerRadius], [page:todo thetaSegments], [page:todo phiSegments], [page:todo thetaStart], [page:todo thetaLength])</h3>
+		<h3>[name]([page:Float innerRadius], [page:Float outerRadius], [page:Integer thetaSegments], [page:Integer phiSegments], [page:Float thetaStart], [page:Float thetaLength])</h3>
 		<div>
-		innerRadius -- todo <br />
-		outerRadius -- todo <br />
-		thetaSegments -- todo <br />
-		phiSegments -- todo <br />
-		thetaStart -- todo <br />
-		thetaLength -- todo
-		</div>
-		<div>
-		todo
+		innerRadius — Default is 0, but it doesn't work right when innerRadius is set to 0.<br />
+		outerRadius — Default is 50. <br />
+		thetaSegments — Number of segments.  A higher number means the ring will be more round.  Minimum is 3.  Default is 8. <br />
+		phiSegments — Minimum is 3.  Default is 8.<br />
+		thetaStart — Starting angle. Default is 0. <br />
+		thetaLength — Central angle.  Default is Math.PI * 2.
 		</div>
 
 

+ 12 - 10
docs/api/extras/geometries/ShapeGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,10 +17,10 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo shapes], [page:todo options])</h3>
+		<h3>[name]([page:Array shapes], [page:Object options])</h3>
 		<div>
-		shapes -- todo <br />
-		options -- todo
+		shapes  todo <br />
+		options  todo
 		</div>
 		<div>
 		todo
@@ -29,7 +31,7 @@
 
 
 
-		<h3>.[page:object shapebb]</h3>
+		<h3>.[page:Object shapebb]</h3>
 		<div>
 		todo
 		</div> 
@@ -38,19 +40,19 @@
 
 
 
-		<h3>.addShapeList([page:todo shapes], [page:todo options]) [page:todo]</h3>
+		<h3>.addShapeList([page:todo shapes], [page:Object options]) [page:this]</h3>
 		<div>
-		shapes -- todo <br />
-		options -- todo
+		shapes  todo <br />
+		options  todo
 		</div>
 		<div>
 		todo
 		</div>
 
-		<h3>.addShape([page:todo shape], [page:todo options]) [page:todo]</h3>
+		<h3>.addShape([page:todo shape], [page:Object options])</h3>
 		<div>
-		shape -- todo <br />
-		options -- todo
+		shape  todo <br />
+		options  todo
 		</div>
 		<div>
 		todo

+ 4 - 45
docs/api/extras/geometries/SphereGeometry.html

@@ -17,17 +17,8 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo radius], [page:todo widthSegments], [page:todo heightSegments], [page:todo phiStart], [page:todo phiLength], [page:todo thetaStart], [page:todo thetaLength])</h3>
-		<div>
-		radius -- todo <br />
-		widthSegments -- todo <br />
-		heightSegments -- todo <br />
-		phiStart -- todo <br />
-		phiLength -- todo <br />
-		thetaStart -- todo <br />
-		thetaLength -- todo
-		</div>
-		<div>
+		<h3>[name]([page:Float radius], [page:Integer widthSegments], [page:Integer heightSegments], [page:Float phiStart], [page:Float phiLength], [page:Float thetaStart], [page:Float thetaLength])</h3>
+
 		<div>
 		radius — sphere radius. Default is 50.<br />
 		widthSegments — number of horizontal segments. Minimum value is 3, and the default is 8.<br />
@@ -45,41 +36,9 @@
 
 		<h2>Properties</h2>
 		
-		<h3>.[page:number thetaStart]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number thetaLength]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number heightSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number widthSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number phiLength]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number phiStart]</h3>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number radius]</h3>
-		<div>
-		todo
-		</div> 
-		
+		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.
+		</div>
 		
 		<h2>Source</h2>
 

+ 6 - 7
docs/api/extras/geometries/TetrahedronGeometry.html

@@ -7,21 +7,20 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:PolyhedronGeometry] &rarr;
+	
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">A class for generating a tetrahedron geometries.</div>
 
 
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo radius], [page:todo detail])</h3>
+		<h3>[name]([page:Float radius], [page:Integer detail])</h3>
 		<div>
-		radius -- todo <br />
-		detail -- todo
-		</div>
-		<div>
-		todo
+		radius — Radius of the tetrahedron. Default is 1.<br />
+		detail — Default is 0. Setting this to a value greater than 0 adds vertices making it no longer a tetrahedron.
 		</div>
 
 

+ 16 - 6
docs/api/extras/geometries/TextGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:ExtrudeGeometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,13 +17,21 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo text], [page:todo parameters])</h3>
-		<div>
-		text -- todo <br />
-		parameters -- todo
-		</div>
+		<h3>[name]([page:String text], [page:Object parameters])</h3>
 		<div>
-		todo
+		text — todo <br />
+		parameters — Object that can contain the following parameters.
+		<ul>
+			<li>size — Float. Size of the text.</li>
+			<li>height — Float. Thickness to extrude text.  Default is 50.</li>
+			<li>curveSegments — Integer. Number of points on the curves.</li>
+			<li>font — String. Font name.</li>
+			<li>weight — String. Font weight (normal, bold).</li>
+			<li>style —  String. Font style (normal, italics).</li>
+			<li>bevelEnabled — Boolean. Turn on bevel. Default is False.</li>
+			<li>bevelThickness — Float. How deep into text bevel goes. Default is 10.</li>
+			<li>bevelSize — Float. How far from text outline is bevel. Default is 8.</li>
+		</ul>
 		</div>
 		
 

+ 11 - 35
docs/api/extras/geometries/TorusGeometry.html

@@ -7,55 +7,31 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+	
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<div class="desc">Creates a torus.</div>
 
 
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo radius], [page:todo tube], [page:todo radialSegments], [page:todo tubularSegments], [page:todo arc])</h3>
+		<h3>[name]([page:Float radius], [page:Float tube], [page:Integer radialSegments], [page:Integer tubularSegments], [page:Float arc])</h3>
 		<div>
-		radius -- todo <br />
-		tube -- todo <br />
-		radialSegments -- todo <br />
-		tubularSegments -- todo <br />
-		arc -- todo
-		</div>
-		<div>
-		todo
+		radius — Default is 100. <br />
+		tube — Diameter of the tube.  Default is 40. <br />
+		radialSegments — Default is 8 <br />
+		tubularSegments — Default is 6. <br />
+		arc — Central angle.  Default is Math.PI * 2.
 		</div>
 
 
 		<h2>Properties</h2>
 
-
-		<h3>.[page:number radialSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number tube]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number arc]</h3>
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number radius]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number tubularSegments]</h3>
-		<div>
-		todo
-		</div> 
-
+		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.
+		</div>
 
 		<h2>Source</h2>
 

+ 14 - 51
docs/api/extras/geometries/TorusKnotGeometry.html

@@ -7,71 +7,34 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+	
 		<h1>[name]</h1>
 
-		<div class="desc">todo</div>
+		<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>
 
 
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo radius], [page:todo tube], [page:todo radialSegments], [page:todo tubularSegments], [page:todo p], [page:todo q], [page:todo heightScale])</h3>
+		<h3>[name]([page:Float radius], [page:Float tube], [page:Integer radialSegments], [page:Integer tubularSegments], [page:Integer p], [page:Integer q], [page:Float heightScale])</h3>
 		<div>
-		radius -- todo <br />
-		tube -- todo <br />
-		radialSegments -- todo <br />
-		tubularSegments -- todo <br />
-		p -- todo <br />
-		q -- todo <br />
-		heightScale -- todo
-		</div>
-		<div>
-		todo
+		radius — Default is 100. <br />
+		tube — Default is 40. <br />
+		radialSegments — Default is 64. <br />
+		tubularSegments — Default is 8. <br />
+		p — Default is 2. <br />
+		q — Default is 3. <br />
+		heightScale — Default is 1.
 		</div>
 
 
 		<h2>Properties</h2>
 
-
-		<h3>.[page:number radialSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number tube]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number q]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number p]</h3>
+		
 		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number radius]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number tubularSegments]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:array grid]</h3>
-		<div>
-		todo
-		</div> 
-
-		<h3>.[page:number heightScale]</h3>
-		<div>
-		todo
-		</div> 
+		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.
+		</div>
 
 
 		<h2>Source</h2>

+ 20 - 21
docs/api/extras/geometries/TubeGeometry.html

@@ -7,6 +7,8 @@
 		<link type="text/css" rel="stylesheet" href="../../../page.css" />
 	</head>
 	<body>
+		[page:Geometry] &rarr;
+		
 		<h1>[name]</h1>
 
 		<div class="desc">todo</div>
@@ -15,17 +17,14 @@
 		<h2>Constructor</h2>
 
 
-		<h3>[name]([page:todo path], [page:todo segments], [page:todo radius], [page:todo radiusSegments], [page:todo closed], [page:todo debug])</h3>
-		<div>
-		path -- todo <br />
-		segments -- todo <br />
-		radius -- todo <br />
-		radiusSegments -- todo <br />
-		closed -- todo <br />
-		debug -- todo
-		</div>
+		<h3>[name]([page:todo path], [page:Integer segments], [page:Float radius], [page:Integer radiusSegments], [page:Boolean closed], [page:Boolean debug])</h3>
 		<div>
-		todo
+		path — todo <br />
+		segments — todo <br />
+		radius — todo <br />
+		radiusSegments — todo <br />
+		closed — todo <br />
+		debug — todo
 		</div>
 
 
@@ -36,37 +35,37 @@
 		todo
 		</div> 
 
-		<h3>.[page:number segments]</h3>
+		<h3>.[page:Integer segments]</h3>
 		<div>
 		todo
 		</div> 
 
-		<h3>.[page:number radius]</h3>
+		<h3>.[page:Float radius]</h3>
 		<div>
 		todo
 		</div> 
 
-		<h3>.[page:number radiusSegments]</h3>
+		<h3>.[page:Integer radiusSegments]</h3>
 		<div>
 		todo
 		</div> 
 
-		<h3>.[page:boolean closed]</h3>
+		<h3>.[page:Boolean closed]</h3>
 		<div>
 		todo
 		</div> 
 
-		<h3>.[page:array tangents]</h3>
+		<h3>.[page:Array tangents]</h3>
 		<div>
 		todo
 		</div> 
 
-		<h3>.[page:array normals]</h3>
+		<h3>.[page:Array normals]</h3>
 		<div>
 		todo
 		</div> 
 
-		<h3>.[page:array binormals]</h3>
+		<h3>.[page:Array binormals]</h3>
 		<div>
 		todo
 		</div> 
@@ -75,11 +74,11 @@
 		<h2>Methods</h2>
 		
 
-		<h3>.FrenetFrames([page:todo path], [page:number segments], [page:boolean closed]) [page:todo]</h3>
+		<h3>.FrenetFrames([page:todo path], [page:Integer segments], [page:Boolean closed])</h3>
 		<div>
-		path -- todo <br />
-		segments -- todo <br />
-		closed -- todo
+		path  todo <br />
+		segments  todo <br />
+		closed  todo
 		</div>
 		<div>
 		todo