Nondeterministic Palindrome Machine

    @thi.ng/geom-clip-poly
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.23 • Public • Published

    geom-clip-poly

    npm version npm downloads Twitter Follow

    This project is part of the @thi.ng/umbrella monorepo.

    About

    2D polygon clipping / offsetting (Sutherland-Hodgeman, Grainer-Hormann). This is a support package for @thi.ng/geom.

    Current implementations are based on toxiclibs (Java) and Clojure versions thi.ng/geom-clj.

    Status

    STABLE - used in production

    Search or submit any issues for this package

    Related packages

    Installation

    yarn add @thi.ng/geom-clip-poly

    ES module import:

    <script type="module" src="https://cdn.skypack.dev/@thi.ng/geom-clip-poly"></script>

    Skypack documentation

    For Node.js REPL:

    # with flag only for < v16
    node --experimental-repl-await
    
    > const geomClipPoly = await import("@thi.ng/geom-clip-poly");
    

    Package sizes (gzipped, pre-treeshake): ESM: 347 bytes

    Dependencies

    API

    Generated API docs

    TODO

    Authors

    Karsten Schmidt

    If this project contributes to an academic publication, please cite it as:

    @misc{thing-geom-clip-poly,
      title = "@thi.ng/geom-clip-poly",
      author = "Karsten Schmidt",
      note = "https://thi.ng/geom-clip-poly",
      year = 2013
    }

    License

    © 2013 - 2022 Karsten Schmidt // Apache Software License 2.0

    Install

    npm i @thi.ng/geom-clip-poly

    DownloadsWeekly Downloads

    514

    Version

    2.1.23

    License

    Apache-2.0

    Unpacked Size

    22.1 kB

    Total Files

    6

    Last publish

    Collaborators

    • thi.ng