Question about ExtentEnvelope
and NavigatorPolicyFactory
#4562
-
Hi, I am slowly playing around with ACTS, and I am currently trying to understand the gen3 geometry building. As a for-fun exercise I am playing around with some Rust bindings for ACTS (https://github.com/DJDuque/acts-rs), and I think I now have a basic understanding of the geometry building. But there are 2 things (so far) that I know I don't understand:
Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
As for the That is important:
|
Beta Was this translation helpful? Give feedback.
-
For the navigation policy: effectively what you're saying is correct: The try all policy is correct but inefficient, especially with many surfaces. There is a multi-policy that dispatches to a set of contained policies. The factory exists because the policies are created with a finalized volume: the surfaces and child volumes are there, and the sizing is final. This allows the policy to create acceleration structures if desired. With the factory pattern, the policies and configuration can supplied beforehand, and then constructs the policies with the final volumes. |
Beta Was this translation helpful? Give feedback.
As for the
ExtentEnvelope
: this allows you to define some minimum tolerance envelope in certain directions for building the enclosure of geometry structures.That is important:
AxisR
), which then in turn creates a little gap between the vol…