discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

pointInRing function

bool pointInRing(
  1. Vector2 p,
  2. List<Vector2> r
)

Whether p is inside ring r (no closing duplicate), by the crossing number.

Implementation

bool pointInRing(Vector2 p, List<Vector2> r) => pointInRingXY(p.x, p.y, r);