Class Index | File Index

Classes


Class URBGEN.Builder.VerticalBuilder


Extends URBGEN.Builder.

Defined in: UrbGen.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Represents a vertical builder.
Field Summary
Field Attributes Field Name and Description
 
The corner indices this builder uses to select edges.
 
This builder's direction index.
 
The minimum length of an edge produced by this builder.
Fields borrowed from class URBGEN.Builder:
endPoint, generator, newPoints, origin, poly
Method Summary
Method Attributes Method Name and Description
 
Returns this builder's current poly's grid angle + 0.5 * Math.PI.
 
Sets this builder's current new points
Methods borrowed from class URBGEN.Builder:
addPointToPath, buildPolys, pointByAngle, pointByRValue, setUp
Class Detail
URBGEN.Builder.VerticalBuilder(generator)
Represents a vertical builder.
Parameters:
{URBGEN.Generator} generator
- The generator that owns this builder.
Field Detail
{number[]} corners
The corner indices this builder uses to select edges.

{number} direction
This builder's direction index.

{number} minEdgeLength
The minimum length of an edge produced by this builder.
Method Detail
{number} getGridAngle()
Returns this builder's current poly's grid angle + 0.5 * Math.PI.
Returns:
{number} The orthogonal grid angle.

setNewPoints()
Sets this builder's current new points

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Sep 04 2014 11:25:29 GMT+0100 (BST)