[gdal-dev] Iterating through an OGR polygon as a set of triangles via the C API

Meyer, Jesse R. (GSFC-618.0)[SCIENCE SYSTEMS AND APPLICATIONS INC] jesse.r.meyer at nasa.gov
Fri Jun 10 08:08:04 PDT 2022


Hi,

My goal is to build an indexed list of triangles from OGR polygons as inputs to a hardware rasterizer for efficient rendering.  I see RFC 64 was implemented a few years ago but the documentation warns "not yet implemented".  These is reinforced by my failed attempt to use OGR_G_ForceTo on a polygon geometry to the TIN type.  OGR's object hierarchy can be easy to misunderstand so maybe I'm just missing something here.

Is this functionality available? If not, are viewers like QGIS manually building an index list themselves (or perhaps they use old fixed function APIs)?

Thanks,
Jesse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220610/411cb445/attachment.htm>


More information about the gdal-dev mailing list