Commit Graph

423 Commits

Author SHA1 Message Date
iyaz 06c65f7e64 Forgotten translate added (after the change 'Do not rely on Polyhedron::Traits::Vector') 2013-06-24 12:49:32 +03:00
Sébastien Loriot 1fad739801 use the point type from the property_map 2013-06-24 10:24:13 +02:00
iyaz 491fc493b0 Add uniform scale related experimental code,
It can be activated by CGAL_DEFORM_MESH_USE_EXPERIMENTAL_SCALE
and for just scale (but not rotate): CGAL_DEFORM_MESH_JUST_EXPERIMENTAL_SCALE
2013-06-17 15:41:19 +03:00
iyaz 8693dd7062 Remove private is_roi is_handle functions 2013-06-14 15:13:32 +03:00
iyaz c7861308a1 Change internal Vector constructor from points to be logically compatible with Vector_3 2013-06-04 15:40:17 +03:00
iyaz 76a334ef06 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-06-04 15:23:02 +03:00
iyaz 3cdf31edc6 Do not rely on Polyhedron::Traits::Vector
Also removed experimental code from Deform_mesh.h (important parts already moved / adapted to Closest rotation traits classes)
2013-06-04 15:20:44 +03:00
Sébastien Loriot 66ef73ad9c property map functions should not be in boost namespace but if the pmap is 2013-06-04 07:22:36 +02:00
iyaz ff9a95b4f9 Taking optional parameter vertex point pmap for Deform_mesh
'rendering big meshes' problem is solved by using vertex arrays
2013-06-03 21:28:14 +03:00
iyaz 7100197889 doc update 2013-05-29 20:09:13 +03:00
iyaz d20c7eb96c remove useless parameter 2013-05-29 19:36:10 +03:00
Sébastien Loriot 51a914eeb9 add an example using a polyhedron with a custom point type
it shows what are the requirements on the point type
2013-05-21 17:55:40 +02:00
Sébastien Loriot fda7403f03 add missing include 2013-05-21 17:55:40 +02:00
iyaz 90b093fe9f Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-05-21 16:54:55 +03:00
iyaz 9676d7353b Update performance test case (to use polar_decomposition)
Make polar default closest rotation computer
2013-05-21 16:28:23 +03:00
Sébastien Loriot b2654e7a1a add missing CGAL namespace to avoid conflict with std one with gcc 2013-05-14 18:15:12 +02:00
Sébastien Loriot a77564cb71 fix typos 2013-05-14 17:19:06 +02:00
Sébastien Loriot 3dc05ba66d add missing license headers 2013-05-14 16:59:56 +02:00
iyaz 8b3450db2b remove auxiliary SVD code, also remove it from benchmark 2013-05-14 15:56:42 +03:00
iyaz 0d2122a76d forgotten () added 2013-05-14 15:13:34 +03:00
Sébastien Loriot b3c27c0f99 add a model to the concept 2013-05-14 13:57:22 +02:00
Sébastien Loriot 55a6966e18 more doc polishing 2013-05-14 13:55:18 +02:00
iyaz cbbe7d498b adding () at the end of functions in user manual 2013-05-14 14:48:32 +03:00
iyaz eba28a105e Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-05-14 14:26:53 +03:00
iyaz 08fdd1bb10 Make Deformation_Eigen_polar_closest_rotation_traits_3 default solver 2013-05-14 14:17:16 +03:00
Sébastien Loriot 472b0cfbcd remove the term free vertex 2013-05-14 12:53:41 +02:00
Sébastien Loriot a89d90f962 polish refman 2013-05-14 12:05:22 +02:00
Sébastien Loriot a9bbcf7fac update concept doc 2013-05-13 18:15:21 +02:00
iyaz 5c022cc23c multiple iterate for benchmarking 2013-05-07 19:19:39 +03:00
iyaz 24ad364768 add forgotten file extension (.cpp) while renaming 2013-05-07 19:11:00 +03:00
iyaz c034afc2d1 benchmark for closest rotation models 2013-05-07 16:33:41 +03:00
iyaz 95e36740ce Remove unused includes 2013-05-07 16:06:50 +03:00
iyaz 493b46564d changes in experimental closest rotation models 2013-05-07 16:06:07 +03:00
iyaz 79e0c4890d New benchmark file added for models of DeformationClosestRotationTraits_3 2013-05-07 15:45:00 +03:00
iyaz 37e3be88b7 Change concept DeformationClosestRotationTraits_3 the closest rotation -> a close rotation (also give an example that even returning an identity matrix will work and produce naive laplacian deformation results etc) 2013-05-07 14:09:10 +03:00
iyaz 5fcc633b9b fix file paths, add example model into data folder 2013-05-07 01:12:02 +03:00
iyaz 0233a24560 remove forgotten " 2013-05-07 01:11:03 +03:00
iyaz 56677aad0a User manual updates considering Olga's last suggestions 2013-05-05 14:54:59 +03:00
iyaz b3471184fb An info message is updated 2013-05-03 04:31:00 +03:00
iyaz d0eb2877ca Test refinements 2013-05-03 04:03:08 +03:00
iyaz fbf43551f2 Add profile counter to experimental closest rotation model 2013-05-02 20:19:43 +03:00
iyaz 6f6bf85558 Grammatical corrections, rephrasing. 2013-04-28 21:59:37 +03:00
iyaz 9f0db4238e Do not produce doc for experimental polar closest rotation (forgot to deactivate)
Examples: removed unnecessary include
2013-04-23 23:09:35 +03:00
iyaz 51b20f8fac Another model for DeformationClosestRotationTraits_3 from experimental polar decomp code inside Deform_mesh.h 2013-04-22 01:28:27 +03:00
iyaz d7a61fb44e Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-21 23:59:07 +03:00
iyaz c7771b196b Change SVD traits, the thing is we are just using SVD to compute closest rotation to a matrix M.
So I think requiring an interface to support SVD traits is a limitation on user, we should directly ask for 'closest rotation' instead of U V etc.
(Also trait class is fairly simple in this way)
2013-04-21 23:54:55 +03:00
Sébastien Loriot 707e9fcccf update examples and make them compile on linux 2013-04-12 17:30:48 +02:00
iyaz 7c53e3ee0b Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-12 18:26:33 +03:00
Sébastien Loriot 7ecfe2a1c0 update concept name 2013-04-12 17:07:43 +02:00
iyaz 1f6a1a9d3e A new benchmark for SSE SVD 2013-04-11 14:10:43 +03:00
iyaz 2581657045 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-10 19:33:39 +03:00
iyaz f76d0be74e New test file for simple performance test 2013-04-10 19:32:21 +03:00
iyaz 785aea21c6 A new model of SVDHelper_3 is added in order to test SVD in http://pages.cs.wisc.edu/~sifakis/project_pages/svd.html
To activate new model define USE_FAST_SVD_EXPERIMENTAL in/before Deform_mesh.h
As far as I test, it is ~3x faster than EigenSVD, and you notice speed-up in demo easily (since it makes whole deformation ~2x fast)
-- not sure about possible compilation problems
2013-04-10 19:31:45 +03:00
Sébastien Loriot a14a4812a2 update doc of Eigen_SVD_helper_3
all the public member should be hidden as it's just the implementation
of the concept
2013-04-10 17:59:47 +02:00
iyaz 664a4e9aa7 Transfer Eigen_SVD_helper_3.h to include/CGAL 2013-04-10 17:57:24 +03:00
iyaz 5de0a8b598 Including default parameters for linear solver and SVD solver.
Related changes in demo, and test case.
Also removed Property_maps_for_edit_plugin.h which was somewhat useless.
-- Going to update examples, once API becomes more certain.
2013-04-10 16:56:17 +03:00
Sébastien Loriot b3d3aa213f add a sentence to explain why we have this concept. 2013-04-10 09:43:08 +02:00
iyaz cb3ef39f36 update test (Cactus_deformation_session.cpp):
make it suitable for test performance (not active by default)
make it suitable for test suite (precomputed mesh difs active by default)
2013-04-10 00:50:33 +03:00
iyaz 45f170b9a6 change in SVDHelper concept (and model):
separate smallest singular value index calculation from 'compute'
2013-04-10 00:44:54 +03:00
iyaz 4805f2bfc4 New concept introduced for SVD computations: SVDHelper_3 and model of it Eigen_SVD_helper_3
For now I places Eigen_SVD_helper_3 under internal directory of Surface_modeling
2013-04-09 22:23:06 +03:00
iyaz c056906be1 User manual refinement, mostly according to Andreas's comments. 2013-04-09 19:24:25 +03:00
Sébastien Loriot 18f2bd74c5 update copyright date and author list 2013-04-09 10:43:08 +02:00
Andreas Fabri 2dc9e77e2b typos,wording,LaTeX 2013-04-09 10:06:22 +02:00
Andreas Fabri 60feceec54 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-09 08:52:31 +02:00
iyaz 52fbbdf049 Mixim upper case, fixed 2013-04-07 17:10:11 +03:00
iyaz 596f93f85a Small refinements on ref-man. 2013-04-07 17:08:08 +03:00
iyaz 8c420de8cb Small refinements on user manual,
Videos are changed with their 1.5x speed versions (so that (I hope) nobody can get bored while watching them)
2013-04-05 18:00:33 +03:00
Sébastien Loriot 367bef344e update workflow diagram 2013-04-04 23:51:43 +02:00
iyaz 60286aa952 Reference manual refinements 2013-04-04 18:18:52 +03:00
iyaz c7547ce8ee fix member initialization order 2013-04-04 00:44:32 +03:00
iyaz ba0a0f52e9 tag -> TAG in documentation 2013-04-04 00:41:45 +03:00
iyaz 0f70c0637e New video added explaining ROI/handle deletion and overwrite,
dino deformation video is switched with a new version (which is faster and cleaner)
2013-04-04 00:34:38 +03:00
iyaz 414d46e3e5 New concept suggestion for SVD solver 2013-04-04 00:31:30 +03:00
Sébastien Loriot ce6ed9b51f fix initialization order of member objects 2013-04-03 14:31:42 +02:00
iyaz 4bca660454 Separating preprocess into two sub-preprocess: region_of_solution and factorization
Main reason is that some parts only need one of them to be ready to work, but we were preprocessing both two subs.
2013-04-03 14:48:33 +03:00
iyaz b3d624e3f5 Fixing warnings 2013-04-03 14:04:52 +03:00
Sébastien Loriot 62e5d8dda6 make more obvious the behavior wrt original coordinates 2013-04-03 11:35:48 +02:00
Sébastien Loriot c102838776 enhance the description of translate, rotate and deform 2013-04-03 11:18:19 +02:00
Sébastien Loriot cc356eb368 hide default weight calculator 2013-04-03 09:39:13 +02:00
Sébastien Loriot cb031439f1 shorten template parameter names to prettify the documentation 2013-04-03 09:21:27 +02:00
Sébastien Loriot f0423d555f fix order initialization warnings 2013-04-03 09:03:46 +02:00
Sébastien Loriot 52de2d5d08 change override to overwrite 2013-04-03 08:51:26 +02:00
Sébastien Loriot 1cd2687e41 add missing typename 2013-04-03 08:27:59 +02:00
iyaz 671b0c4bcb return last result in preprocess 2013-04-03 02:06:54 +03:00
iyaz 11b69e0104 Introducing override function. 2013-04-03 02:01:41 +03:00
iyaz abafa5efc1 Adding last_preprocess_successful
(deliberately created a new bool and not used need_preprocess because it will not be clear)
2013-04-02 22:55:05 +03:00
iyaz 60729a0c5d Emphasize on rotate & translate override behavior in user manual 2013-04-02 17:50:43 +03:00
iyaz c631f0a9f2 Documentation improvement (rotate & translate) and renaming (deformation_type) 2013-04-02 17:49:44 +03:00
iyaz 659a771525 removed clear() from example 2013-04-02 16:08:20 +03:00
iyaz 6e927575f7 new images for example results 2013-04-02 16:08:03 +03:00
iyaz 9a5fb1f523 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-04-02 15:43:01 +03:00
iyaz db1ac5c975 Changes according to API discussion 2 2013-04-02 15:38:06 +03:00
Sébastien Loriot 000703ee32 update user manual
- name example section
- rename handle group to gourp of handles which is less confusing
- remove todo
2013-04-02 13:16:12 +02:00
iyaz acfc6bb9f8 a typo fixed 2013-04-02 13:18:41 +03:00
Sébastien Loriot 338c019dcd make a pass on the reference manual 2013-04-02 11:45:31 +02:00
Sébastien Loriot 8f229c242e center video and update comment 2013-04-02 08:41:23 +02:00
iyaz a96c8bf0d5 typos fixed 2013-04-01 14:14:33 +03:00
iyaz 05efb96ca8 Add explanations for ROI / handle iteration, is_roi, and is_handle 2013-04-01 13:50:44 +03:00
iyaz 3393f262a2 returning std::pair instead of boost::tuple 2013-04-01 13:30:58 +03:00
iyaz 6c34eca476 Recorrect examples to fit current API 2013-04-01 13:07:37 +03:00
iyaz acd4d019b4 Fixing spelling errors 2013-04-01 02:24:57 +03:00
iyaz 411a1f21e5 Fixing spelling errors in comments 2013-04-01 02:22:23 +03:00
iyaz 22087f0770 make priv member comments doxygen style 2013-04-01 02:04:58 +03:00
iyaz 2fb4432bb2 image name changed 2013-04-01 01:57:25 +03:00
iyaz d64ce2a1e6 New figures with IPE sources 2013-04-01 01:56:33 +03:00
iyaz df8d3a20e2 New main image suggestion 2013-03-31 16:53:07 +03:00
iyaz 701a83fd76 Make Vect hidden type rather than template parameter
(not sure which version is the best for documentation)
2013-03-31 16:24:48 +03:00
iyaz 2e02eb5afd Fixing names of template parameters and their typedefs 2013-03-31 16:23:57 +03:00
iyaz e58d84f0c4 Remove storing all original positions 2013-03-30 18:51:45 +02:00
iyaz dc350f49e4 Small addition about ROI 2013-03-30 18:48:54 +02:00
iyaz 800ec349fb Fixin iterator names and comments 2013-03-29 19:35:24 +02:00
Sébastien Loriot 9a3037398e add authors 2013-03-29 12:09:48 +01:00
Sébastien Loriot 0601aef425 introduce concept group and simply SparseLinearAlgebraTraitsWithPreFactor_d 2013-03-29 07:24:10 +01:00
iyaz 093038bc8b Ref manual refinements 2013-03-29 03:56:24 +02:00
iyaz dca2e741bc Update examples to follow API changes 2013-03-29 03:53:51 +02:00
iyaz 1247f7d06c Updates in user manual 2013-03-29 03:53:26 +02:00
iyaz f64911e0b6 Concept documentation update,
new concept for linear solver is introduced.
2013-03-29 03:52:55 +02:00
iyaz 64a9b40ce1 Remove previous demo 2013-03-28 03:34:54 +02:00
iyaz 3b28bd12c3 Documentation update 2013-03-28 03:33:43 +02:00
iyaz 29546de7b0 New images for user manual 2013-03-28 03:33:13 +02:00
iyaz 2e1b6601aa Mostly documentation/code improvements. 2013-03-28 03:32:36 +02:00
iyaz 2166d7d6ce API changes,
now edge weights are computed for all edges in constructor,
original positions of vertices are saved in constructor,
Documentation is coming tomorrow
2013-03-27 02:28:23 +02:00
iyaz 87676dbbbe Reintroduce roi vector 2013-03-22 02:27:37 +02:00
iyaz 971dba606f Added functions returning iterators for handles and handle groups 2013-03-20 23:01:17 +02:00
iyaz 189106307c Make deformation type (spokes_rims or original) template parameter,
a few refinements on documentation
2013-03-20 13:46:05 +02:00
iyaz fbbca9a969 User manual first pass is nearly completed. 2013-03-19 16:19:13 +02:00
iyaz e77910c423 Making preprocess call optional (it is called if there is any need to)
Make the copy constructor private
2013-03-19 16:18:30 +02:00
iyaz 5cf896ef21 Rotate example is added 2013-03-19 11:37:35 +02:00
Andreas Fabri 1dd5329120 Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-03-19 09:22:26 +01:00
Sébastien Loriot cfd3ae49ee clean answers I agreed on in the user manual 2013-03-19 07:21:55 +01:00
Sébastien Loriot 6181222f28 update example names 2013-03-19 07:04:03 +01:00
iyaz a7d7c8af12 Answers for first pass on user manual 2013-03-19 01:01:27 +02:00
iyaz 0b561de926 Example names are changed 2013-03-19 01:00:44 +02:00
Sébastien Loriot ad12219c6c first pass on the user manual 2013-03-18 20:24:59 +01:00
Sébastien Loriot 3e02fc24b9 add example file and document parameters 2013-03-18 18:11:46 +01:00
iyaz ce0fa42025 Spell errors fixed 2013-03-18 16:31:13 +02:00
iyaz 32830d90cc WeightCalculator is now just a part of preprocess function 2013-03-18 16:30:35 +02:00
iyaz 1bc7a9f77e Example of custom weights changed 2013-03-18 16:29:48 +02:00
iyaz 922e9c626b Add new two example 2013-03-18 13:36:54 +02:00
iyaz a290b93c31 Change SurfaceModelingWeightCalculator concept 2013-03-18 13:35:44 +02:00
iyaz 1514dcf4ae Examples for user manual 2013-03-18 02:09:40 +02:00
iyaz 927cbc2c6e Documentation refinements,
Unused functions are removed
2013-03-18 02:09:13 +02:00
iyaz 5ed655f5c1 User manual updates,
API section is nearly completed
Examples added
2013-03-18 02:07:12 +02:00
iyaz fc14a32566 Removed previous version of rims,
For simplifying code, Cgal vector + Eigen matrix arithmetics are changes to Eigen Vector + Matrix, now at least code is more readable & short,
Completed the new version of rims (include energy function),
Clean the code (parts which corresponds to Eq.s are commented in this way)
Previous version assumes ros vertices are sorted according to their ids, now it is not an issue (order of vertices in ros std::vector can be any).
2013-03-13 22:43:04 +02:00
iyaz 11da4a8041 Changed the rims part in documentation according to new version 2013-03-13 22:35:35 +02:00
iyaz 708162cf79 Put rims iterator into namespace 2013-03-13 01:40:57 +02:00
iyaz e11568810b Change weight computation of rims
(also compute opp edges)
2013-03-12 01:10:02 +02:00
iyaz bae5971dd1 Added a new spokes and rims version 2013-03-12 00:44:00 +02:00
iyaz e43aa921d0 Manual updates 2013-03-12 00:17:11 +02:00
iyaz e638fe19ae In SVD calculation, removed unnecessary search of minimum eigenvalue, since they are sorted already 2013-03-11 15:08:22 +02:00
iyaz 71c652538f Merge branch 'Surface_modeling-new_package-GF' of ssh://scm.cgal.org/var/git/cgal into Surface_modeling-new_package-GF 2013-03-11 12:10:47 +02:00
iyaz ca54dfe303 Code & documentation improvement 2013-03-11 12:08:57 +02:00
Sébastien Loriot 571ea185b4 fix compilation error and warnings 2013-03-09 09:49:03 +01:00
iyaz 4ccc5b8690 Remove forgotten debug related code 2013-03-09 03:22:02 +02:00
iyaz c206dcd6fb Removed forgotten debug related code 2013-03-09 03:19:29 +02:00
iyaz f8a16135bf User manual - added API section (not completed) 2013-03-09 03:14:53 +02:00
iyaz de332821bc Added a new function assign
A few documentation improvements
-- Need to write test cases for each function soon
2013-03-09 03:13:52 +02:00
Sébastien Loriot c8deb29d63 fix copmilation issue in the demo and remove a initialization order warning 2013-03-08 11:41:38 +01:00
iyaz 5986e4c351 Added a simple function move(handles, target positions) 2013-03-07 19:21:45 +02:00
iyaz 5759d588eb Start off user manual,
It is not that much readable, but sectioning (structure) can be checked out.

Note: in order to activate equation numbering and referring append:
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  TeX: { equationNumbers: { autoNumber: "AMS" } }
});
</script>

to generated html page, above the script which loads MathJax.js
2013-03-07 00:42:24 +02:00
iyaz bb19e3d809 Introduced spoke-rim iterator to eliminate code duplication
Documentation improved
Energy function for rims added
2013-03-07 00:36:27 +02:00
Andreas Fabri debddb6409 more standard CMakeLists.txt 2013-03-05 21:28:34 +01:00
Andreas Fabri 3d1fd9709e put Ilker's Eigen Test under version control 2013-03-05 21:05:57 +01:00
iyaz c0e1b345f6 New test for sequential deformation (handle displacements are read from file, and target mesh is deformed accordingly) 2013-03-02 02:55:26 +02:00
iyaz 6c3ed29744 Required data for deformation session testing 2013-03-02 02:53:14 +02:00
iyaz b75edcad9c A minor naming change 2013-02-28 19:21:06 +02:00
iyaz 60e5fac453 Removing zero initialization requirement on index maps,
Now index maps can be read write maps (whether initialized with some value or not does not matter)
2013-02-28 19:05:21 +02:00
iyaz 19cd8e2104 Documenetation changes 2013-02-28 14:59:56 +02:00
Sébastien Loriot 60cf501f98 add missing typename 2013-02-28 12:32:36 +01:00
iyaz 2540ec136d Moving internal class to its own directory 2013-02-28 12:15:47 +02:00
iyaz fcd8d1f3c4 API related improvements, doxygen style commenting (will be improved) 2013-02-28 02:01:12 +02:00
iyaz 6f15306ce4 Simple precondition for checking whether 'preprocess' is called before deformation is added 2013-02-27 01:19:02 +02:00
iyaz 949d0ca112 Spokes and rims implementation is added,
A clamped version of cotangent weight and uniform weight are added.
2013-02-27 00:52:28 +02:00
iyaz b725285b29 Added rims part again (previous version had a bug, corrected it).
On weights, added cotangent weight implementation which is invariant under edge orientation (a->b vs b->a returns the same weight which is expected), (previous version was returning slightly different weights), and some more improvements (added an alternative (most prob faster) implementation for tan(Q/2))
2013-02-23 04:20:03 +02:00
iyaz bcdb975a2e Removal of forgotten precompiled header include 2013-02-21 18:27:20 +02:00
iyaz 6f29e03497 Test data, added a symmetry test. 2013-02-21 18:15:20 +02:00
iyaz 9a5b5f22d5 Separating weight calculation. Added a new weight (with small modifications) called from [Mullen08]. 2013-02-21 18:14:12 +02:00
Sébastien Loriot ab27458311 add documentation canvas for surface modeling 2013-02-20 08:44:32 +01:00
Sébastien Loriot f52883dd55 boost property_map put and get functions don't need to be in boost namespace
if the global functions are in a namespace, the property map needs to
be in the same namespace
2013-02-18 17:11:34 +01:00
Ilker O. Yaz 5a815504a3 Removing spokes_and_rims related code. 2013-02-18 17:17:45 +02:00
Ilker O. Yaz 618720782b Changing implementation to work with asymmetric weights,
Solving asymmetric result problem.
2013-02-18 15:26:19 +02:00
Ilker O. Yaz 9b73580829 Added implementation for spokes and rims.
More work on ROI friendly implementation.
2013-02-14 00:39:20 +02:00
Ilker O. Yaz fa35e8506b Making implementation ROI friendly,
Adding a custom pmap which can be useful for deforming large polys with small ROIs,
-------
Main change is now internal storage size only depends on ROI.
We pass on all vertices/edges for once in constructor to initialize index pmaps.
This part should be removed since it iterates over all vertices, we can achieve that by a requiring that supplied vertex_index_map, and edge_index_map should be filled by 0.
So the question is how can it be different than looping over all vertices ?
The user might provide a custom pmap, such as Polyhedron_vertex_zero_default_index_map, (added in demo Property_maps_for_edit_plugin.h) which use an internal map and returns 0 for not found keys (so no actual initialization takes place).
2013-02-13 18:00:55 +02:00
Andreas Fabri 1c1ade6579 put parenthesis around max for VC++ 2013-02-11 19:36:45 +01:00
Sébastien Loriot 600fed1a54 initialize a std::size_t to max() instead of -1
follow up of b641753c0c
2013-02-11 10:42:27 +01:00
Sébastien Loriot 0fd82df3a9 do not write twice the coefficient 2013-02-11 10:26:10 +01:00
Sébastien Loriot fadb9c6083 Convert all CRLF files to LF 2012-12-04 16:13:45 +01:00
Sébastien Loriot 2d456057f6 accomodate changes due to merging from next 2012-03-26 15:22:16 +00:00
Sébastien Loriot b641753c0c change int to std::size_t 2012-03-26 10:56:26 +00:00
Sébastien Loriot d52b803ef3 dos2unix 2012-03-26 10:55:12 +00:00
Andreas Fabri ac17a0175d Rename in the API of Deform_mesh; Removal of the k-neighborhhod function 2011-09-15 14:39:00 +00:00
Andreas Fabri 1624c25ad0 Add a rotational deformation; Cleanup of propertymaps; Pass polyhedrin as reference and not as pointer 2011-09-15 14:03:07 +00:00
Andreas Fabri 41707d2265 Conditionally add code for rotational deformations 2011-09-15 13:23:40 +00:00
Andreas Fabri a8c7965d79 Bugfix in unused code 2011-09-09 08:24:02 +00:00
Andreas Fabri 8982e98bb5 The matrix is not necessarily symmetric 2011-09-06 16:40:35 +00:00
Andreas Fabri d5110f746a Pull variable out of a loop, and avoid construction of intermediate Vector 2011-09-05 13:51:51 +00:00
Andreas Fabri f0acf7daad -1.0 * becomes - 2011-09-05 09:43:09 +00:00
Andreas Fabri ba1b84482e Avoid a copy of the polyhedron 2011-09-05 09:41:04 +00:00
Sébastien Loriot 26c2a15055 warning signed vs unsigned int 2011-09-02 14:16:41 +00:00
Sébastien Loriot 26e04f1bac unqualified called to get and put (use Koening lookup) 2011-09-02 14:09:30 +00:00