paulmach / orb

Types and utilities for working with 2d geometry in Golang
MIT License
886 stars 103 forks source link

get geometry center #126

Closed gumap closed 1 year ago

gumap commented 1 year ago

I want to get geometry center point ,is there any good prescriptions?

gumap commented 1 year ago

ok,I got it. https://github.com/paulmach/orb/blob/master/planar/area.go