Skip to content

Conversation

@ihrivnac
Copy link
Contributor

  • Added functions SelectShapeType() and ExcludeShapeType(). Conversion is performed only on selected shapes (if set), and excluded shapes are always skipped.

  • TGeoVGShape: Disabled conversion for problematic edge cases not covered by exclusion: 'TGeoBBox' with shifted origin and 'TGeoScaledShape'.

This Pull request:

Changes or fixes:

  • Added SelectShapeType() and ExcludeShapeType() functions to TVirtualGeoConverter and TGeoVGConverter
  • In TGeoVGShape::Convert(): Disabled conversion for 'TGeoBBox' with shifted origin and 'TGeoScaledShape'

Checklist:

  • [ x] tested changes locally
  • [ x] updated the docs (if necessary)

This PR fixes #

@ihrivnac ihrivnac requested a review from agheata as a code owner November 24, 2025 13:16
@ihrivnac
Copy link
Contributor Author

Hello @agheata ,

Here is the PR that we discussed during Geant4 Collaboration Meeting.

- Added functions 'SelectShapeType()' and 'ExcludeShapeType()'. Conversion is
  performed only on selected shapes (if set), and excluded shapes are always
  skipped.

- TGeoVGShape: Disabled conversion for problematic edge cases not covered by
  exclusion: 'TGeoBBox' with shifted origin and 'TGeoScaledShape'.
@ihrivnac ihrivnac force-pushed the vg-converter-shape-filtering branch from aae3a6f to d94fe26 Compare November 24, 2025 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants