Floorplan


Functions

clamp

Floorplan.clamp(value, min, max)
Arguments:
  • value (number()) – None
  • min (number()) – None
  • max (number()) – None

Clamps a number to lie within the given min/max values

Return type:number

isPointInBox

Floorplan.isPointInBox(point, box)
Arguments:

Determine if the point lies within the bounding box

Return type:boolean

isPointInBoxOnlyZ

Floorplan.isPointInBoxOnlyZ(point, box)
Arguments:

Determine if the point lies within the z-bounds of the box

Return type:boolean

multiplyMatrices

Floorplan.multiplyMatrices(matrices)
Arguments:
  • matrices ([Matrix]()) – None

Multiplies all given matrices in order.

Return type:Matrix