celeritas icon indicating copy to clipboard operation
celeritas copied to clipboard

Add oriented bounding zone class to be used for safety distance calculations

Open elliottbiondo opened this issue 1 year ago • 3 comments

This MR creates an OrientedBoundingZone class. This class, like a standard BoundingZone, consists of an inner and outer box, with the difference being that both boxes are transformed the same transformation. The orientation of the box should mean that tighter bounding boxes (w.r.t. each volume) can be stored during runtime and used for safety distance calculations. The safety distance is the minimum distance from a given point to the inner or outer box. When a point is between the two boxes, the safety distance is zero.

elliottbiondo avatar Aug 09 '24 23:08 elliottbiondo

@sethrj this is ready for your review

elliottbiondo avatar Aug 12 '24 22:08 elliottbiondo

(minor floating point issue causing one test failure in one build configuration, will fix in morning)

elliottbiondo avatar Aug 12 '24 23:08 elliottbiondo

@sethrj this is ready for another look

elliottbiondo avatar Aug 14 '24 18:08 elliottbiondo

@sethrj this should be ready

elliottbiondo avatar Aug 20 '24 14:08 elliottbiondo