discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

wallEndPoints function

List<(int, WallSide, Vector2)> wallEndPoints(
  1. WorldWall w,
  2. List<WorldWall> others
)

All six of w's points (spec 11 D4), in (k, side) order: k = 0 then 1; left, centre, right.

Implementation

List<(int, WallSide, Vector2)> wallEndPoints(
        WorldWall w, List<WorldWall> others) =>
    [
      for (final k in const [0, 1])
        for (final side in WallSide.values)
          (k, side, wallEndPoint(w, others, k, side)),
    ];