Files
Petru Conduraru 3e55c5126c ifcgeom: honour PnIndex in triangulated and polygonal face sets (#3434)
IfcTriangulatedFaceSet and IfcPolygonalFaceSet used CoordIndex values to
index Coordinates.CoordList directly, ignoring the optional PnIndex
attribute. When PnIndex is present it remaps point references, so a
CoordIndex value i must resolve as CoordList[PnIndex[i-1]-1] (both 1-based).
Without the indirection any model carrying a PnIndex was built from the wrong
points.

Add a resolve() helper in both mappings that applies the PnIndex indirection
when present and is a plain bounds-checked lookup otherwise, with bounds
checks at both index levels. When PnIndex is absent the behavior is unchanged.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-11 15:19:06 +02:00
..
2026-06-29 11:30:36 +02:00
2026-06-11 21:09:56 +02:00
2024-06-27 11:49:12 +10:00
2026-01-26 17:10:03 +05:00
2025-10-03 18:12:56 +02:00
2025-09-26 14:24:49 +02:00
2026-06-11 21:09:56 +02:00
2024-08-23 20:29:07 +02:00
2025-09-26 14:24:49 +02:00
2026-06-11 21:09:56 +02:00
2026-06-11 21:09:56 +02:00
2025-08-27 11:03:16 +02:00