OGRPolygon in C++ is a class that represents a polygon geometry within the OGR (OpenGIS Simple Features Reference Implementation) library. It is used to define and manipulate 2D polygons consisting of a series of points connected by line segments. OGRPolygon provides various methods for accessing and modifying the polygon's vertices, rings, and associated attributes. It also supports operations such as checking if a point is inside or on the boundary of the polygon, calculating the area and centroid of the polygon, and performing geometric operations like intersection, union, and difference with other polygons. This class is widely used in GIS (Geographic Information Systems) applications for handling polygon data.
C++ (Cpp) OGRPolygon - 30 examples found. These are the top rated real world C++ (Cpp) examples of OGRPolygon extracted from open source projects. You can rate examples to help us improve the quality of examples.