Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • D dcm-rt-physics
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Fernando Hueso González
  • dcm-rt-physics
  • Issues
  • #9

Closed
Open
Created Mar 12, 2025 by Fernando Hueso González@ferhueMaintainer

Outside Ray to Box intersection

Now that we have intersection of rays inside a box, we have to think about intersection of rays outside a box.

So we have a box with corner edges imgPos - halfPixel and ending at imgPos - halfPixel + nRows*BinWidth

and a proton starting in vacuum, outside the patient, for example 1 meter away, with a slight angle 0.1deg or so. The idea is to calculate at what position xyz it intersects with that big box. Or if it misses it, in which case it should return a NaN or so.

Also ctest for this.

Edited Mar 19, 2025 by Fernando Hueso González
Assignee
Assign to
Time tracking