Skip to content

clumsy456/centerOfPolygon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

centerOfPolygon

Introduction

Calculate the center of polygens with evenly distributed weight. In zuobiao.txt, coordinates of the polygon are sorted by a counterclockwise order. The first and the last coordinate are the same, which means the polygen is closed.

介绍

计算任意多边形重量均匀分布时的中心。zuobiao.txt里为逆时针按顺序的顶点坐标,第一个和最后一个坐标相同,表示多边形闭合。

About

center of polygon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages