Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A small polygon offsetting library for performing basic polygon shrink or expand operations.

License

NotificationsYou must be signed in to change notification settings

kjmarshall/polygon-offset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caveat Emptor!A simple library that implements basic polygon offsetting (shrink and expand). The general idea is to calculate normal vectors to the polygon line segments and offset the segments in the+/- direction of the normal vector.

Examples

Offset examples:

  • A circle that we shrink by 0.01

- A circle that we expand by 0.01

- A flower that we expand by 0.05

About

A small polygon offsetting library for performing basic polygon shrink or expand operations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp