Commit Graph

101 Commits

Author SHA1 Message Date
Qiaozhi Lei
f8a118b2b0 legacy vector min max should take const args 2023-08-21 10:52:02 +01:00
Jan Möbius
11c55759f7 Updated and unified license headers 2023-03-01 13:03:33 +01:00
Jan Möbius
7c5363916d Updated license header 2022-01-18 09:50:04 +01:00
Jan Möbius
6f4d14374b Fixed Warnings in Normalcone Geometry 2022-01-17 15:56:53 +01:00
Max Lyon
d095500098 fix wrong doxygen path 2020-12-07 14:07:41 +01:00
Jan Möbius
c1e5815efe Merge branch 'vector-cross-method' into 'master'
VectorT: Implement .cross() and .dot() methods.

See merge request OpenMesh/OpenMesh!256
2020-04-20 08:00:10 +02:00
Martin Heistermann
6b66b7642e Fix #72: Eigen tests fail to compile on Linux with Eigen 3.3.7 2020-04-09 17:00:11 +02:00
Martin Heistermann
29959d8cf5 VectorT: Implement .cross() and .dot() methods.
Aliases for operators % and | for better compatibility with Eigen3.
2020-03-30 19:04:26 +02:00
Max Lyon
52d3ad9332 templatize NormalConeT over Vector instead of Scalar to allow for other types of vectors (eg Eigen) 2019-12-19 14:04:59 +01:00
Max Lyon
2237321c1c fix non-member min and max functions 2019-11-08 09:49:42 +01:00
Max Lyon
eae634fe94 add method to move construct vector from array 2019-11-06 14:16:25 +01:00
Max Lyon
da233b391e fix return type of non-member min and max functions 2019-10-07 14:57:24 +02:00
Max Lyon
592c13ab5c add non-member versions of min and max for vector class 2019-10-07 13:05:49 +02:00
Jan Möbius
669b1b789e cppcheck 2019-05-29 08:32:28 +02:00
Jan Möbius
faa1a7917d Get rid of the T.cc naming for template implementations 2019-02-20 12:14:46 +01:00
Jan Möbius
446d8cf14e Removed old templates folder 2019-02-20 11:49:15 +01:00
Jan Möbius
87a4f6f10f Removed output 2019-01-17 09:42:01 +01:00
Jan Möbius
a7e9657759 Use vectorize for initializing vector in dummy implementations
closes #59
2019-01-17 08:08:09 +01:00
Jan Möbius
58085cd5f3 Preliminary Eigen support. One unittest still fails
refs #59
2019-01-17 07:40:34 +01:00
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Christian Mattes
74350f54de Proper spacing between methods 2018-04-16 13:21:54 +02:00
Christian Mattes
4eab053275 Added free functions for non-C++11 Vectors 2018-04-12 16:07:41 +02:00
Christian Mattes
377562d11a Fixed last occurences of non-free-function usage (at least as far as covered by the tests). 2018-04-12 15:16:50 +02:00
Christian Mattes
57e2e07432 Implemented necessary free functions for OpenMesh Vectors 2018-04-12 11:30:12 +02:00
Jan Möbius
e95aeec855 Respect vector Traits in Quadric 2017-04-26 12:46:30 +02:00
Janis Born
0f42d48cfb make Vector11T converting ctor only accept at least 2 arguments
(hence making all single-argument ctors explicit)
2017-02-10 15:55:29 +01:00
Martin Heistermann
8033e2da23 QuadricT: implement Q+Q and Q*scalar operators for convenience. 2016-12-21 18:31:46 +01:00
Jan Möbius
f846b75202 Typo 2016-11-08 12:27:32 +01:00
Janis Born
12ad76fccf attempt to quench 'Checked Iterator' warnings in VS2015 2016-11-08 11:27:18 +01:00
Max Limper
6433ed2ae3 gcc 4.7 compile fix 2016-09-13 18:52:39 +02:00
xan
8445bad3c3 Fix undefined MSVC macro warning 2016-08-14 09:21:31 +02:00
Martin Schultz
4b8f1bf667 fixes MSVC Community 2015 ICE
The default constructors are now used as template specializations by
postponing them below the template definition
2016-05-24 15:06:32 +02:00
Janis Born
b1a7d43a83 drop VectorDimensionsT metaprogram in favor of vector_traits
(thanks to Marco Centin and Amodio Pesce)
2016-03-17 18:29:55 +01:00
Janis Born
f4046e4d58 fix some uses of const begin and end iterators 2015-12-17 14:36:23 +01:00
Janis Born
3b5364d3e4 take VectorT argument by reference for non-member vector scalar multiplication (fixes #12) 2015-11-26 12:46:08 +01:00
Jan Möbius
6b24398fbc Merge branch 'VS2015_test' into 'master'
Try to get c++11 on visual studio 2015



See merge request !26
2015-11-25 15:03:51 +01:00
Janis Born
e36051d571 brace style 2015-11-25 11:21:38 +01:00
Janis Born
d5e6d413f3 implement member and non-member swap for VectorT 2015-11-25 11:19:53 +01:00
Jan Möbius
1b3c350efb Get changes from master for this branch to test cpp11 stuff
Merge branch 'master' into VS2015_test
2015-11-25 09:47:51 +01:00
Jan Möbius
a1ccdd69f8 Merge branch 'vec2_issues' into 'master'
Vec2 issues



See merge request !25
2015-11-23 16:48:43 +01:00
Jan Möbius
509f62e118 Try to get c++11 on visual studio 2015 2015-11-23 15:54:22 +01:00
Janis Born
8488f4ac53 use C++98-compatible template brackets 2015-11-23 15:37:14 +01:00
Janis Born
4c9a6ba5a4 add VectorDimensionsT metaprogram to detect vector dimensions in C++98 2015-11-23 15:33:14 +01:00
Janis Born
cf54f40e3e implement VectorT in-place arithmetic operators based on Scalar in-place arithmetic operators 2015-11-23 12:25:07 +01:00
Janis Born
37fc29b59b add begin / end iterators for Vector11T component access 2015-11-23 09:37:08 +01:00
Hans-Christian Ebke
fe3dfade13 C++11: Made VectorT::size_ constexpr. 2015-11-19 22:58:42 +01:00
Hans-Christian Ebke
3ed7079cb8 C++11: Laid foundation for benchmark tests. We need more of them! 2015-11-19 19:53:36 +01:00
Hans-Christian Ebke
61fe9dabef C++11: Making sure VectorT construction from iterator is only instantiated for actual iterators. 2015-11-19 17:59:37 +01:00
Hans-Christian Ebke
cdfd266cab C++11: Using std::inner_product for VectorT::operator|. 2015-11-19 17:32:11 +01:00
Hans-Christian Ebke
14dffb83ce C++11: Made VectorT's constructor from array more general. 2015-11-19 17:31:54 +01:00