discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

endpoint method

Vector2 endpoint(
  1. int k
)

The start for k == 0, the end otherwise.

Implementation

Vector2 endpoint(int k) => k == 0 ? s : e;