» Minimum Polygon Distance
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Minimum Polygon Distance

plugin 2d Distance geometry polygon
Credits: Hormoz Pirzadeh


Get minimal distance of two or more arbitrary convex polygons.
Calculation using Rotating Calipers.

Should work with polygons of any edge point number.

Please note that:

  • Polygons have to be convex
  • Corner points of polygons have to be ordered clockwise
  • No collision detection is performed (i.e. overlapping polygons do not have a distance of zero. Probably could use HitTest (2d Polygon)for that.

Outputs a distance matrix containing all distances between all input polygons. Also, the closest points between the polygons are supplied.

Not heavily tested - use with caution!
Any feedback or suggestions for improvement is welcome.
Work partly commissioned by This.Play


10.03.14 [23:39 UTC] by motzi | 523 downloads

anonymous user login


~2d ago

Hadasi: ...classic

~2d ago

Hadasi: @welove the videos are still up there https://www.twitch.tv/wirmachenbunt/videos

~2d ago

welovemedia: Big thanks for the stream, will this stay online or be shared as a download for those who could not watch it live?

~2d ago

CeeYaa: Big THX for the daylong streaming - and amazing Project Insights https://www.twitch.tv/videos/412932722

~2d ago

u7angel: twitch livestream vvvv gamma

~3d ago

u7angel: @domj, sure

~3d ago

domj: @u7angel: nice! How about the talk later at 7?

~3d ago

u7angel: vvvv-gamma-presentation will be streamed on twitch, starts 2pm, channel name is vvvv gamma

~4d ago

joreg: vvvv heads in #hamburg #kiel: if you're bored this thursday, please come join us for a workshop and/or talk: vvvv-gamma-presentation

~5d ago

sebescudie: @teckor: maybe ui-plugin ?