@countertype/clipper2-ts
Version:
TypeScript port of Clipper2 polygon clipping and offsetting library
16 lines • 3.75 kB
TypeScript
/*******************************************************************************
* Author : Angus Johnson
* Date : 2025
* Website : https://www.angusj.com
* Copyright : Angus Johnson 2010-2025
* License : https://www.boost.org/LICENSE_1_0.txt
*******************************************************************************/
export { Point64, PointD, Path64, PathD, Paths64, PathsD, Rect64, RectD, ClipType, PathType, FillRule, PointInPolygonResult, InternalClipper, Point64Utils, PointDUtils, Rect64Utils, RectDUtils, PathUtils, PathsUtils, InvalidRect64, InvalidRectD } from './Core';
export { VertexFlags, Vertex, LocalMinima, createLocalMinima, IntersectNode, createIntersectNode, OutPt, JoinWith, HorzPosition, OutRec, HorzSegment, HorzJoin, Active, ClipperEngine, ReuseableDataContainer64, PolyPathBase, PolyPath64, PolyPathD, PolyTree64, PolyTreeD, ClipperBase, Clipper64, ClipperD } from './Engine';
export { JoinType, EndType, ClipperOffset } from './Offset';
export { OutPt2, RectClip64, RectClipLines64 } from './RectClip';
export { Minkowski } from './Minkowski';
export { Clipper } from './Clipper';
import { Clipper } from './Clipper';
export declare const intersect: typeof Clipper.intersect, intersectD: typeof Clipper.intersectD, union: typeof Clipper.union, unionD: typeof Clipper.unionD, difference: typeof Clipper.difference, differenceD: typeof Clipper.differenceD, xor: typeof Clipper.xor, xorD: typeof Clipper.xorD, booleanOp: typeof Clipper.booleanOp, booleanOpWithPolyTree: typeof Clipper.booleanOpWithPolyTree, booleanOpD: typeof Clipper.booleanOpD, booleanOpDWithPolyTree: typeof Clipper.booleanOpDWithPolyTree, inflatePaths: typeof Clipper.inflatePaths, inflatePathsD: typeof Clipper.inflatePathsD, rectClip: typeof Clipper.rectClip, rectClipLines: typeof Clipper.rectClipLines, minkowskiSum: typeof Clipper.minkowskiSum, minkowskiSumD: typeof Clipper.minkowskiSumD, minkowskiDiff: typeof Clipper.minkowskiDiff, minkowskiDiffD: typeof Clipper.minkowskiDiffD, area: typeof Clipper.area, areaPaths: typeof Clipper.areaPaths, areaD: typeof Clipper.areaD, areaPathsD: typeof Clipper.areaPathsD, isPositive: typeof Clipper.isPositive, isPositiveD: typeof Clipper.isPositiveD, getBounds: typeof Clipper.getBounds, getBoundsPaths: typeof Clipper.getBoundsPaths, getBoundsD: typeof Clipper.getBoundsD, getBoundsPathsD: typeof Clipper.getBoundsPathsD, makePath: typeof Clipper.makePath, makePathD: typeof Clipper.makePathD, scalePath64: typeof Clipper.scalePath64, scalePaths64: typeof Clipper.scalePaths64, scalePathD: typeof Clipper.scalePathD, scalePathsD: typeof Clipper.scalePathsD, translatePath: typeof Clipper.translatePath, translatePaths: typeof Clipper.translatePaths, translatePathD: typeof Clipper.translatePathD, translatePathsD: typeof Clipper.translatePathsD, reversePath: typeof Clipper.reversePath, reversePathD: typeof Clipper.reversePathD, reversePaths: typeof Clipper.reversePaths, reversePathsD: typeof Clipper.reversePathsD, stripDuplicates: typeof Clipper.stripDuplicates, trimCollinear: typeof Clipper.trimCollinear, trimCollinearD: typeof Clipper.trimCollinearD, pointInPolygon: typeof Clipper.pointInPolygon, pointInPolygonD: typeof Clipper.pointInPolygonD, ellipse: typeof Clipper.ellipse, ellipseD: typeof Clipper.ellipseD, simplifyPath: typeof Clipper.simplifyPath, simplifyPaths: typeof Clipper.simplifyPaths, simplifyPathD: typeof Clipper.simplifyPathD, simplifyPathsD: typeof Clipper.simplifyPathsD, ramerDouglasPeucker: typeof Clipper.ramerDouglasPeucker, ramerDouglasPeuckerPaths: typeof Clipper.ramerDouglasPeuckerPaths, ramerDouglasPeuckerD: typeof Clipper.ramerDouglasPeuckerD, ramerDouglasPeuckerPathsD: typeof Clipper.ramerDouglasPeuckerPathsD;
//# sourceMappingURL=index.d.ts.map