Skip to content

Apply jafranc review comments on PR#251 (euler surface)#256

Open
jafranc wants to merge 2 commits into
feat/bd713/eulerSurfacefrom
jafranc/EulerPropDisplay
Open

Apply jafranc review comments on PR#251 (euler surface)#256
jafranc wants to merge 2 commits into
feat/bd713/eulerSurfacefrom
jafranc/EulerPropDisplay

Conversation

@jafranc
Copy link
Copy Markdown
Collaborator

@jafranc jafranc commented May 29, 2026

  • Add SetRegionIdAssignmentMode(CELL_COUNT_DESCENDING) after SetExtractionModeToAllRegions() in __countConnectedComponents so regions are ordered largest-first (suggestion on line 154).
  • Add comment that GetConnectivityArray/GetOffsetsArray require VTK 9+ (comment on line 233).
  • Store non-manifold edge point-id pairs in SurfaceComponent and display them (up to 10) in the results output so users know exactly where non-manifold edges are located (question on line 249).

- Add SetRegionIdAssignmentMode(CELL_COUNT_DESCENDING) after
  SetExtractionModeToAllRegions() in __countConnectedComponents so
  regions are ordered largest-first (suggestion on line 154).
- Add comment that GetConnectivityArray/GetOffsetsArray require VTK 9+
  (comment on line 233).
- Store non-manifold edge point-id pairs in SurfaceComponent and display
  them (up to 10) in the results output so users know exactly where
  non-manifold edges are located (question on line 249).

https://claude.ai/code/session_01GwpNNFQRPhb26XMCFHJtts
@jafranc jafranc self-assigned this May 29, 2026
@jafranc jafranc added flag: ready for review test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI type: refactor labels May 29, 2026
@jafranc jafranc requested a review from bd713 May 29, 2026 16:22
Comment thread mesh-doctor/src/geos/mesh_doctor/actions/euler.py
bE = sum( 1 for c in edgeCount.values() if c == 1 )
nm = sum( 1 for c in edgeCount.values() if c > 2 )
nmEdges = tuple( ek for ek, c in edgeCount.items() if c > 2 )
nm = len( nmEdges )
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the idea. Are these expressed as indices from the original mesh numbering? If not, we may need a reverse mapping to make the information more readily useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flag: ready for review test-geos-integration Triggers the testing of geosPythonPackages import and integration in GEOS CI type: refactor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants