Feature.convexCorner constructor

Feature.convexCorner(
  1. List<Cubic> cubics
)

Group a list of Cubic objects to a convex corner (outward indentation in a shape).

cubics - The list of raw cubics describing the corner's shape Throws ArgumentError for lists of empty cubics or non-continuous cubics.

Implementation

factory convexCorner(List<Cubic> cubics) => validated(Corner(cubics, true));