Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Anboto/Surface updated
Anboto/Surface updated [message #60466] Thu, 15 February 2024 15:52
koldo is currently offline  koldo
Messages: 3398
Registered: August 2008
Senior Veteran
New functions have been added to handle 2D and 3D flat polygons.

They can be concave and convex, with any order (clockwise, counter-clockwise).

Main functions are ContainsPoint(), Area() and Centroid().

ContainsPoly() is based on Geom/polyalg/ContainsPoly(), but extended to 3D and with improved detection of the point inside the boundary.

Demo and test are in Surface_demo_test_cl package.

In addition, Surface::AddPolygonalPanel() has been very improved to mesh concave and convex polygons, at different scales. It uses Geom/Delaunay.


Best regards
IƱaki
Previous Topic: Controls4U updated
Next Topic: GraphDraw/GraphCtrl
Goto Forum:
  


Current Time: Fri Nov 01 01:15:15 CET 2024

Total time taken to generate the page: 0.03564 seconds