Lingjie Zhu
f679888c7e
fix compilation error
2018-11-30 15:30:51 +08:00
Pierre Alliez
b9be820b74
some TODOs
2018-11-30 15:30:51 +08:00
Pierre Alliez
8ca8794bda
simpler named params.
2018-11-30 15:30:51 +08:00
Pierre Alliez
c50bb0593a
named params
2018-11-30 15:30:51 +08:00
Pierre Alliez
64261f0acd
shorter named parameters (code to update in accordance!)
...
namespace VSA for error metrics
file and classes renamed for error metrics (should be named xx_metric_yy_proxy)
2018-11-30 15:30:51 +08:00
Pierre Alliez
1048255d6d
massaging reference manual
2018-11-30 15:30:51 +08:00
Lingjie Zhu
33913d6664
add_proxy_furthest -> add_to_furthest_proxies
...
maybe better name
2018-11-30 15:30:08 +08:00
Lingjie Zhu
f5b27f3411
indexed triangle switch to CGAL::cpp11::array<std::size_t, 3>
2018-11-30 15:30:08 +08:00
Lingjie Zhu
11bcd9fa1e
metric reference with groups
2018-11-30 15:30:08 +08:00
Lingjie Zhu
4bbda56a37
reference manual with groups
2018-11-30 15:30:08 +08:00
Lingjie Zhu
555c9ed342
ApproximationTraits to ErrorMetric
2018-11-30 15:30:08 +08:00
Lingjie Zhu
66f6c52a7b
remove VSA_metrics.h
2018-11-30 15:30:08 +08:00
Lingjie Zhu
247ce2f858
switch demo/example/test/benchmark to Approximation traits
2018-11-30 15:30:08 +08:00
Lingjie Zhu
b2d75c5879
add Approximation traits class
2018-11-30 15:30:08 +08:00
Lingjie Zhu
f276cac096
remove Polyhedron output mesh
...
vsa_mesh_approximation + vsa_mesh_segmentation -> mesh_approximation
2018-11-30 15:30:08 +08:00
Lingjie Zhu
745f87e172
remove VSA namespace
...
CGAL::VSA::Metrics -> CGAL::Metrics
CGAL::VSA::parameters -> CGAL::Surface_mesh_approximation::parameters
2018-11-30 15:30:08 +08:00
Lingjie Zhu
e94ee29de2
remove VSA namespace
...
CGAL::VSA::Mesh_approximation -> CGAL::VSA_approximation
2018-11-30 15:30:08 +08:00
Lingjie Zhu
2d9c6a1161
tm_in -> tm, FaceGraph -> FaceListGraph, remove hashable
2018-11-30 15:30:08 +08:00
Lingjie Zhu
74f5357120
remove free function VSA:: namespace
2018-11-30 15:30:08 +08:00
Lingjie Zhu
a34d2e651c
fix error rounding up
...
code and document
2018-11-30 15:30:08 +08:00
Lingjie Zhu
9db2720d6f
fix reference manual
2018-11-30 15:30:08 +08:00
Lingjie Zhu
b66c35aa83
remove get_ in member functions
2018-11-30 15:30:08 +08:00
Lingjie Zhu
b593ef4622
fix proxy error update
...
should subtract error fitted to the original proxy not the new one
fix demo run m_iso_approx
2018-11-30 15:30:08 +08:00
Lingjie Zhu
ae08e9a152
fix unused parameter warning
2018-11-30 15:30:08 +08:00
Lingjie Zhu
b3a891e220
update demo cmake scripts
...
cmake version required update
optional verbose
get rid of include xx.cpp
fix duplicate optimize_anchor_location parameter and function name
2018-11-30 15:30:08 +08:00
Pierre Alliez
bb0f671fa2
rename optimization option
2018-11-30 15:30:08 +08:00
Lingjie Zhu
522df74309
remove redundant fit function
2018-11-30 15:30:08 +08:00
Lingjie Zhu
9c0de51b79
optional tbb concurrency
2018-11-30 15:29:18 +08:00
Lingjie Zhu
8ea905adcd
add TBB parallelism in fit
...
Can't find tbb on Windows10 with TBB from 44_20150728 to 2018_20171205.
Seems like FindTBB module is outdated.
cgal-discuss.949826.n4.nabble.com/how-to-enable-TBB-td4659985.html
2018-11-30 15:29:18 +08:00
Lingjie Zhu
b17ca72645
fix split
...
modify proxy map before add_one_proxy_at
2018-11-30 15:28:00 +08:00
Lingjie Zhu
e4f08cb18e
remove preconditions
...
facet proxy map and proxy error are always valid
2018-11-30 15:28:00 +08:00
Lingjie Zhu
d1bf782a2e
fit_proxy_from_facet update error and proxy map
...
this maitain the proxy map and proxy error always valid
even if the number of iteration is 0
connected component fitted from patch
need error/vector degeneracy handeling
2018-11-30 15:28:00 +08:00
Lingjie Zhu
4750ea9328
add_one_proxy_at
2018-11-30 15:28:00 +08:00
Lingjie Zhu
d7f7369416
random pick non-seed facets
...
without proxies clear which invalidates existing proxy map
2018-11-30 15:28:00 +08:00
Lingjie Zhu
a693b2d928
compute_fitting_error -> compute_total_error
...
proxy error has already been computed in fit_proxy_from_patch
2018-11-30 15:28:00 +08:00
Lingjie Zhu
f951b81e62
fit proxy from patch & seed facet
2018-11-30 15:28:00 +08:00
Lingjie Zhu
27d4485393
proxy_wrapper constructor with error
2018-11-30 15:28:00 +08:00
Lingjie Zhu
fc6788b9b4
use Vector and CGAL::ORIGIN to compute anchor location
2018-11-30 15:28:00 +08:00
Lingjie Zhu
e69d136e13
add optional anchor location optimization
2018-11-30 15:28:00 +08:00
Lingjie Zhu
ba2ef67904
check forced teleportation
2018-11-30 15:28:00 +08:00
Lingjie Zhu
f81c885a69
approximate on geometry with disconnected component
...
random shuffle on non seed facets
2018-11-30 15:24:16 +08:00
Lingjie Zhu
888ebfd4ea
add connected component detection
2018-11-30 15:24:16 +08:00
Lingjie Zhu
c07b7daf3a
fix naming
...
fit_error -> m_perror_metric
proxy_fitting -> m_pproxy_fitting
2018-11-30 15:24:16 +08:00
Lingjie Zhu
59e314ce21
fix naming
...
m_borders -> m_bcycles
2018-11-30 15:24:16 +08:00
Lingjie Zhu
4fc49c26c7
fix naming
...
Chord_vector -> Boundary_chord
Border -> Boundary_cycle
2018-11-30 15:24:16 +08:00
Lingjie Zhu
97fdfd2965
prefix data member with m_
2018-11-30 15:24:16 +08:00
Lingjie Zhu
48086ed3f0
fix naming and spacing
2018-11-30 15:24:16 +08:00
Lingjie Zhu
e7945764a5
fix manifold test
...
forgot to compute average_edge_length when algorithm
instance is constructed from (tm, vpmap)
2018-11-30 15:24:16 +08:00
Lingjie Zhu
66458af0bd
consistent naming and spacing
2018-11-30 15:24:16 +08:00
Lingjie Zhu
f1a5f76f00
fix dynamic_property_map compiling issue
2018-11-30 15:24:16 +08:00