discontinuedPackage jet_cad_floor_plan has been discontinued and replaced by jet_cad_2d_plan.

Traced constructor

Traced(
  1. List<Vector2> ring,
  2. List<Set<Handle>> ringSources,
  3. List<List<Vector2>> holes,
  4. List<List<Set<Handle>>> holeSources,
  5. double outerArea,
  6. List<double> holeAreas,
)

Implementation

Traced(
    List<Vector2> ring,
    List<Set<Handle>> ringSources,
    List<List<Vector2>> holes,
    List<List<Set<Handle>>> holeSources,
    this.outerArea,
    List<double> holeAreas)
    : ring = List.unmodifiable(ring),
      ringSources = List.unmodifiable(ringSources),
      holes = List.unmodifiable(
          [for (final h in holes) List<Vector2>.unmodifiable(h)]),
      holeSources = List.unmodifiable(
          [for (final s in holeSources) List<Set<Handle>>.unmodifiable(s)]),
      holeAreas = List.unmodifiable(holeAreas);