Commit Graph
2571 Commits
Author SHA1 Message Date
Mateusz Pusz af26c48795 feat: now "7 days" will be created for std::chrono::weeks instead of a quantity in seconds 2023-08-15 11:22:23 +02:00
Mateusz Pusz 1d822d0ea4 test: relative_point_origin construction simplified 2023-08-15 11:21:07 +02:00
Mateusz Pusz 542668e801 test: more chrono tests added 2023-08-15 11:18:15 +02:00
Mateusz Pusz 059c4f4eea fix: quantity construction from std::chrono types fixed 2023-08-15 11:17:52 +02:00
Mateusz Pusz eb28aa8f8c fix: point_from() now returns a point with a proper representation type 2023-08-15 11:15:20 +02:00
Mateusz Pusz caab43cd25 Merge pull request #480 from bourumir-wyngs/master
Fix "control reaches end of non void function" error.
2023-08-06 12:22:05 +02:00
Bourumir Wyngs e3346dd8bf Fix "control reaches end of non void function" error. 2023-08-06 11:47:32 +02:00
Mateusz Pusz 53c9d96e9e docs: "No text output for points" chapter added 2023-08-04 14:35:20 +02:00
Mateusz Pusz 4c49e9c57f docs: cross-page links fixed 2023-08-03 21:23:34 +02:00
Mateusz Pusz 290161ab07 docs: subtraction of two points to get an absolute quantity case added 2023-08-03 19:05:03 +02:00
Mateusz Pusz bc2a3572ea docs: clarification and cleanup applied to "The Affine Space" chapter 2023-08-03 13:17:51 +02:00
Mateusz Pusz b8002d1940 docs: "The Affine Space" chapter updated to reflect the latest changes 2023-08-03 13:08:09 +02:00
Mateusz Pusz 794ac2fa67 test: more binary operators tests added for quantity_point 2023-08-03 11:36:07 +02:00
Mateusz Pusz 0c69747f15 refactor: quantity_point compile-time optimizations 2023-08-03 11:32:49 +02:00
Mateusz Pusz 3628e99aaa feat: CTAD for quantity_point can now deduce point_origin 2023-08-03 11:31:58 +02:00
Mateusz Pusz dd9fd761a3 refactor: now we have only one quantity_point converting constructor 2023-08-02 11:21:09 +02:00
Mateusz Pusz ccdf5d319a feat: point_from extended with the case of the same origin 2023-08-02 11:20:32 +02:00
Mateusz Pusz c289bbcfdb refactor: parent_origin renamed to quantity_point in relative_point_origin 2023-08-02 08:55:29 +02:00
Mateusz Pusz 730f4da136 test: various origins tests added for quantity_point 2023-08-01 22:07:24 +02:00
Mateusz Pusz 1328ae4245 feat: point_from added to quantity_point 2023-08-01 22:06:15 +02:00
Mateusz Pusz 0292048252 refactor: quantity_point converting constructor simplified 2023-08-01 22:04:46 +02:00
Mateusz Pusz 4c2e288017 feat: explicit this interfaces added for getters in quantity and quantity_point 2023-08-01 17:26:00 +02:00
Mateusz Pusz 5015d7c3e3 fix: explicit this interfaces fixed for quantity_spec 2023-08-01 17:25:15 +02:00
Mateusz Pusz b19bf0761c feat: relative_point_origin support added
Relates to #414
2023-08-01 17:24:01 +02:00
Mateusz Pusz c12bf20703 feat: lvalue reference overload of relative() added
Relates to #476
2023-08-01 15:53:45 +02:00
Mateusz Pusz c12b3b1ccc feat: lvalue reference overload of number() added
Resolves #476
2023-08-01 15:51:49 +02:00
Mateusz Pusz acfbd07bb7 docs: unit_symbol_solidus comments changed to use unicode 2023-08-01 12:40:28 +02:00
Mateusz Pusz ea6325a5eb refactor: some parameterized quantity specs renamed
Relates to #475
2023-08-01 12:38:29 +02:00
Mateusz Pusz 092e1569a7 feat: heat is now a quantity of energy kind
ISO 8000-1 says: "The quantities heat, kinetic energy, and potential energy are generally considered to be quantities of the same kind, namely, of the kind of quantity called energy."
2023-08-01 12:36:27 +02:00
Mateusz Pusz 7ce8173b40 test: initial version of quantity_point_test added 2023-08-01 12:04:31 +02:00
Mateusz Pusz 571bf47b95 test: quantity_test cleanup 2023-08-01 12:01:12 +02:00
Mateusz Pusz a6e4851efe test: more binary operators tests added for quantity 2023-08-01 12:00:35 +02:00
Mateusz Pusz 2ddbb365f3 feat: QuantityPointOf concept now has a special case for absolute_point_origin 2023-08-01 11:59:08 +02:00
Mateusz Pusz f18f3c24f8 feat: quantity_point CTAD for Rep and QuantityLike removed 2023-08-01 11:58:21 +02:00
Mateusz Pusz 613bbca620 fix: quantity_point now uses absolute() instead of relative() for comparisons 2023-08-01 11:57:20 +02:00
Mateusz Pusz 823fe26a13 feat: quantity_point binary operators are now constrained to prevent weakening of the origin 2023-08-01 11:55:39 +02:00
Mateusz Pusz 1e81069d53 feat: absolute_point_origin convertibility removed 2023-08-01 11:53:50 +02:00
Mateusz Pusz da3fcf091e docs: initial version of "Affine Space" chapter 2023-07-30 18:29:35 +02:00
Mateusz Pusz 615c35f5b6 docs: "Text Output" chapter added 2023-07-24 17:38:11 +02:00
Mateusz Pusz 6bf55ff6cb docs: headers simplified and the Compiler Explorer links updated for an example app 2023-07-13 18:32:36 +02:00
Mateusz Pusz 60a564a867 refactor(example): simpler header files used 2023-07-11 19:48:22 +02:00
Mateusz Pusz 3569ec76ea docs: "Representation types for vector and tensor quantities" extended 2023-07-11 19:27:26 +02:00
Mateusz Pusz 1f1258d4e3 docs: C++23 examples placed first so they open by default in the docs 2023-07-11 17:22:32 +02:00
Mateusz Pusz 8076916d5c docs: Compiler Explorer link added to hello_units example 2023-07-11 15:49:04 +02:00
Mateusz Pusz c1303dce2b docs: Tagging of examples added 2023-07-11 15:40:23 +02:00
Mateusz Pusz 2f7ecbc19d docs: "Dimensionless Quantities" chapter added 2023-07-10 17:56:05 +02:00
Mateusz Pusz 1585f96bef docs: "Basic Concepts" TOC refactored 2023-07-10 16:55:44 +02:00
Mateusz Pusz 8765a9c1e3 refactor(example): StorageTank example now properly uses horizontal_area quantity 2023-07-10 16:54:25 +02:00
Mateusz Pusz 5d73cd0730 feat: dimensionless quantities with a unit one are not special anymore 2023-07-10 16:53:49 +02:00
Mateusz Pusz 9370c61022 docs: proper link to "Dimensionless Quantities" chapter added in FAQ 2023-07-10 12:34:46 +02:00