BuildingArea Class

Properties
cellsArea lengthCells pt1 pt2 pt3 pt4 ptMax ptMin widthCells

Functions
containCell containPoint insideArea intersectAABB isEdgeCell

.cellsArea
Type: Rect2Dint [Read Only]

.lengthCells
Type: number [Read Only]

.pt1
Type: Vector2 [Read Only]

.pt2
Type: Vector2 [Read Only]

.pt3
Type: Vector2 [Read Only]

.pt4
Type: Vector2 [Read Only]

.ptMax
Type: Vector2 [Read Only]

.ptMin
Type: Vector2 [Read Only]

.widthCells
Type: number [Read Only]

containCell
function containCell(x number, y number ) -> boolean

containPoint
function containPoint(x number, y number ) -> boolean

insideArea
function insideArea(x number, y number ) -> boolean

intersectAABB
function intersectAABB(xMin number, yMin number , xMax number , yMax number ) -> boolean

isEdgeCell
function isEdgeCell(x number, y number ) -> boolean