Add Displacement class and integrate with Position#4
Merged
Conversation
added 2 commits
March 8, 2026 14:25
…y tracking and coverage reporting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes two major sets of changes: it restructures the way the
qtty-cppdependency is managed (now vendored as a nested submodule undertempoch-cpp), and it introduces a newDisplacementtype to the Cartesian coordinates module, updating thePositiontype to use proper affine vector math. Additionally, it updates related build, CI, and documentation files to reflect the new submodule layout.Dependency and build system restructuring:
qtty-cppsubmodule and instead uses the nestedqtty-cppsubmodule undertempoch-cpp, updating all references inCMakeLists.txt,.gitmodules,Dockerfile, CI scripts, and documentation accordingly. This simplifies dependency management and ensures consistent versions ofqtty-cppandtempoch-cpp. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]siderustandtempoch-cppto new versions, likely to support the new structure and features. [1] [2]Cartesian coordinates API improvements:
Displacementtype tocartesian.hpp, representing free vectors (differences between positions) with proper support for vector operations, magnitude, and frame transformations.Positiontype so that subtracting two positions now yields aDisplacement(instead of anotherPosition), and adds support for translating aPositionby aDisplacement(both addition and subtraction). This enforces correct affine geometry and prevents invalid operations.These changes improve both the maintainability of the build system and the correctness and expressiveness of the Cartesian coordinate API.