Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(geo): Extent designated initialization (acts-project#3680)
This pull request introduces a new constructor for the `ExtentEnvelope` struct using a helper struct for designated initialization, and includes corresponding unit tests to ensure its functionality. The most important changes include the addition of the `Arguments` helper struct, the new constructor, and a new test case in the unit tests. Enhancements to `ExtentEnvelope` struct: * [`Core/include/Acts/Geometry/Extent.hpp`](diffhunk://#diff-82ced51a7d9c573938c161066e15e9d21194b2ca79b3033d8519b1317e6d18d6R77-R103): Added a new helper struct `Arguments` for designated initializer construction and a corresponding constructor in `ExtentEnvelope` to utilize this struct. Unit tests: * [`Tests/UnitTests/Core/Geometry/ExtentTests.cpp`](diffhunk://#diff-ec39444b2939b7caa485e011248f941d88a3d46a9e57f386c4c42c5550b23a4aR179-R189): Added a new test case `DesignatedInitializers` to verify the functionality of the new designated initializer constructor in `ExtentEnvelope`.
- Loading branch information