wall.facet.inbox

Syntax

a = wall.facet.inbox(vl,vu<,b>)

Get facets with extents intersecting a box. The extent is the axis-aligned bounding box of the facet. Specifying b = false indicates that only facets with positions falling in the box are returned.

Note

  • This function uses cell-space-based algorithms for efficient spatial searching, and therefore assumes that the walls are properly mapped into the cell space. Directly after the model has been restored, after walls have been created or facets added to existing walls, one must execute a model clean command prior to using this function.
Returns:

a - array of facets

Arguments:

vl - lower corner of the box

vu - upper corner of the box

b - optional intersection specifier