discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

placedIn method

  1. @override
List<Handle> placedIn(
  1. Aabb2 box
)
override

The live walls and separators, ascending, whose place box touches box (closed: touching counts), as ParametricView.placedIn answers.

Implementation

@override
List<Handle> placedIn(Aabb2 box) {
  _refresh();
  return List.unmodifiable([
    for (final (h, b) in _placed)
      if (b.intersects(box)) h,
  ]);
}