Commit Graph

364 Commits

Author SHA1 Message Date
Jan Möbius
b57284f5a3 Fixed some windows scalar conversion warnings 2019-05-29 13:33:42 +02:00
Jan Möbius
b083f32a23 Replace NULL by nullptr 2019-05-29 10:11:42 +02:00
Jan Möbius
f468efacd0 cppcheck 2019-05-28 14:04:58 +02:00
Jan Möbius
87d2161c5d cppcheck 2019-05-28 13:39:03 +02:00
Janis Born
e7cd4edd1c add calc_face_area for TriMeshT 2019-03-14 16:59:07 +01: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
a7e9657759 Use vectorize for initializing vector in dummy implementations
closes #59
2019-01-17 08:08:09 +01:00
Jan Möbius
38efdce5f5 Some cleanup 2019-01-15 16:12:51 +01:00
Jan Möbius
34c44c9188 Merge branch 'master' into compile-time-connectivity-type 2019-01-15 14:36:58 +01:00
Jan Möbius
2c52593cd7 Removed the old svn revision date headers 2019-01-15 11:21:12 +01:00
Jan Möbius
617b5e78de Fixed PolyConnectivity is_collapse_ok, missing some configurations (Thanks to Simon Flöry for the patch) 2018-12-10 08:54:25 +01:00
Jan Möbius
05292e103c Merge branch 'master' into compile-time-connectivity-type 2018-10-30 10:33:34 +01:00
Jan Möbius
18e39fee46 Rename the DEPRECATED macro into OM_DEPRECATED to prevent a macro clash with Intel MKL (Thanks to Morgan Leborgne for the patch) 2018-09-25 10:15:47 +02:00
Max Lyon
4c80002241 Update documentation of split_copy to reflect the fact that properties are copied from the old face to the new ones. 2018-06-19 09:24:00 +02:00
Jan Möbius
b0ece67d46 TriConnectivity: Added two functions split_edge and split_edge_copy to mask the PolyConnectivity functions of the same name (Prevents creation of valence 2 vertices on trimeshes)
closes #51
2018-06-19 09:04:51 +02:00
Jan Möbius
3c9437d31c Merge branch 'master' into compile-time-connectivity-type 2018-05-30 10:59:40 +02:00
Jan Möbius
7d25a21cad Merge branch 'feature-free-functions' into 'master'
Feature free functions

Closes #52

See merge request OpenMesh/OpenMesh!168
2018-04-18 14:41:56 +02:00
Christian Mattes
7bb868b2be Replaced usage of length() by norm() to avoid forcing both to be implemented 2018-04-16 13:15:45 +02:00
Jan Möbius
b135803c86 Removed unary_function from hash 2018-04-16 10:03:10 +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
Christian Mattes
5e7493b3a9 Altered PolyMesh template to work with Eigen's Vectors 2018-04-12 11:11:55 +02:00
Janis Born
f5bc55004a don't return invalid iterators for empty element ranges 2018-03-22 14:56:35 +01:00
Jan Möbius
da2c1168a5 Merge branch 'edge_split_copy_face_properties' into 'master'
Edge split copy face properties

See merge request OpenMesh/OpenMesh!156
2018-03-20 12:32:20 +01:00
Max Lyon
d32df7f1ba add some consts 2018-03-20 09:58:27 +01:00
schultz
43031ea84f fixes #50 by setting refcounters to 0 if the property is not present 2018-03-19 14:45:17 +01:00
Max Lyon
480f1175e1 also copy face properties in split_copy(EdgeHandle, VertexHandle) 2018-03-19 10:54:06 +01:00
Jan Möbius
34cfd71836 Merge branch 'skipping_ranges' into 'master'
Skipping ranges

See merge request OpenMesh/OpenMesh!153
2018-02-25 13:45:11 +01:00
Max Lyon
d36b24ac18 mark halfedges as deleted after collapse 2018-02-22 13:16:22 +01:00
Max Lyon
ca212ba8f2 let default range-based for skip deleted elements and add a version that includes deleted elements 2018-02-16 13:57:26 +01:00
Jan Möbius
548a73bfad calc_sector_angle: Check for real division by zero not with epsilon that was way to large 2018-01-05 11:05:08 +01:00
Martin Schultz
29cbe82048 changed the way status propertzies are copied.
refcount is set to 1 if it was > 0 in the original mesh
fixes #48
2017-10-24 15:58:29 +02:00
Max Lyon
dc77fbd384 only compute normals for faces that are not deleted 2017-08-08 14:14:30 +02:00
Janis Born
c4fdb6a264 use correct ConnectivityTag typedef for PolyMeshT 2017-07-31 10:32:11 +02:00
Janis Born
f9a1cc930c make is_polymesh / is_trimesh methods constexpr and add a ConnectivityTag typedef to help with tag dispatching 2017-07-28 08:43:13 +02:00
Martin Schultz
cd4e65f37f Merge branch 'master' of https://www.graphics.rwth-aachen.de:9000/OpenMesh/OpenMesh into featureSplitCopyInternal 2017-06-29 10:31:42 +02:00
Martin Schultz
8302ef59dd changed the split_copy overloaded function with edgehandle as first
parameter tzo always copy internal properties
2017-06-29 10:21:46 +02:00
Jan Möbius
77251c5db8 Merge branch 'Boost_range_support' into 'master'
Boost range support (Thanks to Bastian Pranzas for the patch)

See merge request !135
2017-06-27 15:38:10 +02:00
Martin Schultz
ad950d46b7 made the face and edge split operations that copy properties also copy
builtin properties
2017-06-27 11:56:15 +02:00
Martin Schultz
4826d46ca3 fix boundary case for TriMeshSplit1_4 2017-05-30 14:35:54 +02:00
Jan Möbius
fba2f98c8c Boost range support (Thanks to Bastian Pranzas for the patch) 2017-05-23 16:27:03 +02:00
Jan Möbius
986f98f0b9 Added Triangle 1 to 4 split 2017-04-26 16:58:38 +02:00
Max Lyon
45f3b8187d enable more c++11 features for Visual Studio 2013 2017-04-25 16:03:19 +02:00
Martin Schultz
1f331456e5 fix wrong behaviour of HalfedgeLoopIterators by changing the template parameter 2017-02-20 15:40:08 +01:00
Janis Born
949e705082 more C++98 compatibility 2017-01-12 13:41:08 +01:00
Janis Born
3179316c82 add calc_edge_midpoint methods for meshes 2017-01-11 17:27:11 +01:00
Martin Schultz
874cef141a use new assignment for polymesh trimesh conversion fixes #35 2017-01-08 23:05:16 +00:00
Martin Schultz
b3b992d2d2 implemented assign function that copies properties and initializes propertiehandles if desired 2017-01-08 23:04:08 +00:00
Martin Schultz
49cc72e9d2 added explicit copy constructors for PolyMeshT and TrimeshT to enable static_casts of different mesh types 2016-12-08 18:18:59 +01:00