Smart M.App discussions

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Frequent Contributor
Posts: 106
Registered: ‎06-03-2016
Accepted Solution

MeasureCenter vs MeasurePolygon

Hexagon, 

 

Could you graphically illustrate the difference between the locations of centroids computed using Measure Center verses Measure Polygon. 

 

Which operator ensures the centroid is within, for example, banana shaped polygons?

 

Regards

Highlighted
Technical Evangelist
Posts: 40
Registered: ‎09-10-2015

Re: MeasureCenter vs MeasurePolygon

There is no difference. The current implementation of MeasurePolygon is as a "model as an operator" and it uses MeasureCenter internally. The MeasureCenter implementation is currently based on the centroid algorithm of boost::geometry