Class Index | File Index

Classes


Class URBGEN.Geometry


Defined in: UrbGen.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Represents a 3D geometry.
Field Summary
Field Attributes Field Name and Description
 
This geometry's faces, stored as a 2D array.
 
This geometry's vertices, stored as a 2D array.
Class Detail
URBGEN.Geometry()
Represents a 3D geometry.
Field Detail
{number[][]} faces
This geometry's faces, stored as a 2D array. Each element is an array of type [i, j, k], where i, j and k are the indices of three vertices that define a 3 sided face.

{number[][]} vertices
This geometry's vertices, stored as a 2D array. Each element is an array of type [x, y, z]. For example, [[2, 2, 5], [4, 6, 7]] represents two vertices with coords (2, 2, 5) and (4, 6, 7) respectively.

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