diff --git a/packages/geom/README.md b/packages/geom/README.md index a241d617aa..a4086a5657 100644 --- a/packages/geom/README.md +++ b/packages/geom/README.md @@ -30,7 +30,7 @@ This package acts as a higher-level front end for the following related packages - [@thi.ng/geom-api](https://github.com/thi-ng/umbrella/tree/master/packages/geom-api) - shared types & interfaces - [@thi.ng/geom-accel](https://github.com/thi-ng/umbrella/tree/master/packages/geom-accel) - spatial indexing data structures - [@thi.ng/geom-arc](https://github.com/thi-ng/umbrella/tree/master/packages/geom-arc) - elliptic arc utils -- [@thi.ng/geom-clip-convex](https://github.com/thi-ng/umbrella/tree/master/packages/geom-clip-convex) - Sutherland-Hodgeman / Liang-Barsky clipping +- [@thi.ng/geom-clip](https://github.com/thi-ng/umbrella/tree/master/packages/geom-clip) - Sutherland-Hodgeman / Liang-Barsky clipping - [@thi.ng/geom-closest-point](https://github.com/thi-ng/umbrella/tree/master/packages/geom-closest-point) - line-point proximity queries - [@thi.ng/geom-hull](https://github.com/thi-ng/umbrella/tree/master/packages/geom-hull) - convex hull functions - [@thi.ng/geom-isec](https://github.com/thi-ng/umbrella/tree/master/packages/geom-isec) - shape intersection tests diff --git a/packages/geom/package.json b/packages/geom/package.json index 258272b796..9bb1ab50e4 100644 --- a/packages/geom/package.json +++ b/packages/geom/package.json @@ -40,7 +40,7 @@ "@thi.ng/errors": "^1.0.1", "@thi.ng/geom-api": "^0.0.1", "@thi.ng/geom-arc": "^0.0.1", - "@thi.ng/geom-clip-convex": "^0.0.1", + "@thi.ng/geom-clip": "^0.0.1", "@thi.ng/geom-closest-point": "^0.0.1", "@thi.ng/geom-hull": "^0.0.1", "@thi.ng/geom-isec": "^0.0.1", diff --git a/packages/geom/src/ctors/line.ts b/packages/geom/src/ctors/line.ts index c4ee61a2ee..ecf3f8e649 100644 --- a/packages/geom/src/ctors/line.ts +++ b/packages/geom/src/ctors/line.ts @@ -1,5 +1,5 @@ import { Attribs } from "@thi.ng/geom-api"; -import { liangBarsky } from "@thi.ng/geom-clip-convex"; +import { liangBarsky } from "@thi.ng/geom-clip"; import { Vec, VecPair } from "@thi.ng/vectors"; import { Line, Rect } from "../api"; import { argAttribs } from "../internal/args"; diff --git a/packages/geom/src/ops/clip-convex.ts b/packages/geom/src/ops/clip-convex.ts index 4468db55c1..1a0a6d3541 100644 --- a/packages/geom/src/ops/clip-convex.ts +++ b/packages/geom/src/ops/clip-convex.ts @@ -1,6 +1,6 @@ import { defmulti } from "@thi.ng/defmulti"; import { IShape, Type } from "@thi.ng/geom-api"; -import { sutherlandHodgeman } from "@thi.ng/geom-clip-convex"; +import { sutherlandHodgeman } from "@thi.ng/geom-clip"; import { Polygon } from "../api"; import { dispatch } from "../internal/dispatch"; import { centroid } from "./centroid";