Skip to content

Latest commit

 

History

History

geom-clip-poly

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

geom-clip-poly

npm version npm downloads Twitter Follow

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

About

2D convex polygon clipping (Sutherland-Hodgeman).

Current implementation is based on toxiclibs (Java) and Clojure version of thi.ng/geom.

This package has been extracted from the former (now obsolete) @thi.ng/geom-clip package.

Status

STABLE - used in production

Installation

yarn add @thi.ng/geom-clip-poly
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/geom-clip-poly?module" crossorigin></script>

// UMD
<script src="https://unpkg.com/@thi.ng/geom-clip-poly/lib/index.umd.js" crossorigin></script>

Package sizes (gzipped, pre-treeshake): ESM: 317 bytes / CJS: 389 bytes / UMD: 517 bytes

Dependencies

API

Generated API docs

TODO

Authors

Karsten Schmidt

License

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