Files
editor/packages/viewer/src/systems/surface-hole-geometry.ts
T

6 lines
176 B
TypeScript

import { type Point2D, unionPolygons } from '../lib/polygon-union'
export function mergeSurfaceHolePolygons(holes: Point2D[][]): Point2D[][] {
return unionPolygons(holes)
}