Intermact API Reference / @intermact/core / createGeometryProvider2D
Function: createGeometryProvider2D()
createGeometryProvider2D(
config):GeometryProvider2D
Defined in: packages/core/src/geometry/provider.ts:46
Build a GeometryProvider2D from raw contours (design.md §5.1). When a samples count is requested (or a defaultSamples is configured and arcLength !== false), each contour is uniformly arc-length resampled; otherwise the natural vertices are returned. Bounds are always computed from the dense raw contours.