Class Index | File Index

Classes


Class URBGEN.Point


Defined in: UrbGen.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
URBGEN.Point(x, y, y)
Represents a point.
Field Summary
Field Attributes Field Name and Description
 
This point's adjacent points in the order: above, left, right, below.
 
x
This Point's x coordinate.
 
y
This Point's y coordinate.
 
z
This Point's z coordinate.
Method Summary
Method Attributes Method Name and Description
 
setValues(point)
Sets this points x, y and z coordinates to those of the specified Point.
Class Detail
URBGEN.Point(x, y, y)
Represents a point. If no x, y and z are specified, the point will have coordinates (0, 0, 0).
Parameters:
{number} x
- The x coordinate of the point.
{number} y
- The y coordinate of the point.
{number} y
- The y coordinate of the point.
Field Detail
{URBGEN.Point[]} neighbors
This point's adjacent points in the order: above, left, right, below. A value of 0 indicates that this point has no adjacent point in that direction.

{number} x
This Point's x coordinate.

{number} y
This Point's y coordinate.

{number} z
This Point's z coordinate.
Method Detail
setValues(point)
Sets this points x, y and z coordinates to those of the specified Point.
Parameters:
{URBGEN.Point} point
- The Point providing the values to set.

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