mirror of https://github.com/CGAL/cgal
Merge pull request #7754 from janetournois/Mesh_3-manifold_and_min_size-jtournois
Mesh_3 - use `manifold()` and `facet_min_size` together
This commit is contained in:
commit
0744eba4bf
|
|
@ -0,0 +1,831 @@
|
|||
OFF
|
||||
336 491 0
|
||||
|
||||
0.17031256632806052 0.87149140923129198 0.45766135056488999
|
||||
0.1530482164355772 0.8581878051094145 0.48898817612201739
|
||||
0.17773204761375261 0.87689701064830428 0.44478929974988757
|
||||
0.17773204761375266 0.87689701064830428 0.44478929974988746
|
||||
0.18610643753537565 0.88125255845135109 0.43210633013751576
|
||||
0.20692923660476614 0.89148810692249181 0.40180685413975092
|
||||
0.21254447256850684 0.89390471712616404 0.39369586600014284
|
||||
0.21439421228553288 0.89457789356401529 0.39128013241131548
|
||||
0.22681489975349639 0.89805158744476077 0.37520377518580433
|
||||
0.2284369195008584 0.89844705357522048 0.37311241287933194
|
||||
0.25355721782048268 0.90387507728811034 0.34253810440658672
|
||||
0.25671454238163 0.90442701067601727 0.33903474443581866
|
||||
0.271410708194047 0.90595336478045674 0.32286639405373119
|
||||
0.2811508450273621 0.90641151615731863 0.31222404809805682
|
||||
0.30186484921791523 0.90688305806336122 0.29107512591583129
|
||||
0.30397342055421117 0.90687073458352585 0.28910030252843327
|
||||
0.33295004022963903 0.90494753379947435 0.26218372058148826
|
||||
0.33544566672286746 0.90463734990484679 0.25988381527545978
|
||||
0.35660859546245854 0.90157505838463314 0.24184951424973428
|
||||
0.35918321758479488 0.90105806124803856 0.23967742655656488
|
||||
0.38998187620182156 0.89436470058605533 0.21570896554595276
|
||||
0.39229183849441457 0.893825128737608 0.21405999957086966
|
||||
0.41582096722616779 0.88692657891222382 0.1974660445788706
|
||||
0.42721864490060912 0.88304523202927654 0.18950565604187919
|
||||
0.44486756488630003 0.87684117534766193 0.17811496227257201
|
||||
0.44878045857535931 0.87541500307784514 0.17583413883161553
|
||||
0.48126519958548886 0.86156266551879135 0.15717574894030889
|
||||
0.48342144068564125 0.86055952199012919 0.15594877494016779
|
||||
0.50017470245974227 0.85269038907862327 0.14688267020077073
|
||||
0.50275426427774228 0.85145286645038376 0.14564781357706019
|
||||
0.51101182387798261 0.84695178356442291 0.1418121948905855
|
||||
0.5423386494351099 0.82968743367193953 0.12850859076870802
|
||||
0.55521070025011254 0.82226795238624728 0.12310298935169575
|
||||
0.55521070025011254 0.82226795238624728 0.12310298935169572
|
||||
0.56789366986248413 0.81389356246462441 0.11874744154864894
|
||||
0.59819314586024919 0.79307076339523386 0.10851189307750808
|
||||
0.60630413399985716 0.78745552743149316 0.10609528287383588
|
||||
0.60871986758868468 0.78560578771446699 0.10542210643598451
|
||||
0.62479622481419628 0.77318510024650322 0.10194841255523895
|
||||
0.62688758712066828 0.77156308049914157 0.10155294642477933
|
||||
0.65746189559341328 0.74644278217951743 0.096124922711889452
|
||||
0.66096525556418162 0.74328545761836973 0.095572989323982643
|
||||
0.6771336059462687 0.72858929180595311 0.094046635219543206
|
||||
0.68777595190194307 0.71884915497263779 0.093588483842681286
|
||||
0.70892487408416871 0.69813515078208477 0.093116941936638747
|
||||
0.71089969747156689 0.69602657944578872 0.093129265416474039
|
||||
0.73781627941851213 0.66704995977036097 0.095052466200525487
|
||||
0.74011618472454033 0.66455433327713243 0.095362650095153101
|
||||
0.75815048575026589 0.64339140453754129 0.098424941615366732
|
||||
0.76032257344343512 0.64081678241520534 0.098941938751961195
|
||||
0.78429103445404746 0.6100181237981781 0.10563529941394456
|
||||
0.78594000042913037 0.60770816150558526 0.10617487126239183
|
||||
0.80253395542112949 0.58417903277383187 0.11307342108777621
|
||||
0.8104943439581207 0.5727813550993911 0.11695476797072311
|
||||
0.82188503772742805 0.55513243511369992 0.12315882465233803
|
||||
0.82416586116838464 0.5512195414246408 0.12458499692215486
|
||||
0.84282425105969128 0.51873480041451114 0.13843733448120865
|
||||
0.84405122505983243 0.51657855931435837 0.13944047800987086
|
||||
0.85311732979922938 0.49982529754025784 0.14730961092137676
|
||||
0.85435218642293986 0.49724573572225761 0.14854713354961632
|
||||
0.85818780510941439 0.48898817612201739 0.15304821643557714
|
||||
0.87149140923129176 0.45766135056489032 0.17031256632806041
|
||||
0.87689701064830428 0.44478929974988757 0.17773204761375266
|
||||
0.88125255845135109 0.43210633013751554 0.18610643753537598
|
||||
0.89148810692249181 0.40180685413975104 0.20692923660476614
|
||||
0.89390471712616404 0.39369586600014284 0.21254447256850695
|
||||
0.89457789356401518 0.39128013241131554 0.21439421228553296
|
||||
0.89805158744476088 0.37520377518580417 0.22681489975349667
|
||||
0.89844705357522048 0.37311241287933194 0.22843691950085848
|
||||
0.90387507728811034 0.34253810440658677 0.25355721782048279
|
||||
0.90442701067601738 0.33903474443581871 0.25671454238163005
|
||||
0.90595336478045685 0.32286639405373119 0.271410708194047
|
||||
0.90641151615731874 0.31222404809805687 0.28115084502736221
|
||||
0.90688305806336122 0.29107512591583123 0.30186484921791512
|
||||
0.90687073458352596 0.28910030252843322 0.30397342055421106
|
||||
0.90494753379947435 0.26218372058148803 0.33295004022963903
|
||||
0.90463734990484679 0.25988381527545973 0.33544566672286741
|
||||
0.90157505838463314 0.24184951424973419 0.35660859546245843
|
||||
0.90105806124803878 0.23967742655656488 0.35918321758479488
|
||||
0.89436470058605533 0.21570896554595267 0.38998187620182156
|
||||
0.893825128737608 0.21405999957086963 0.39229183849441451
|
||||
0.88692657891222382 0.1974660445788706 0.41582096722616779
|
||||
0.88304523202927676 0.18950565604187922 0.42721864490060907
|
||||
0.87684117534766193 0.17811496227257195 0.44486756488630008
|
||||
0.87541500307784514 0.17583413883161553 0.44878045857535925
|
||||
0.86156266551879135 0.15717574894030889 0.48126519958548886
|
||||
0.86055952199012919 0.15594877494016762 0.48342144068564141
|
||||
0.85269038907862327 0.14688267020077067 0.50017470245974227
|
||||
0.85145286645038376 0.14564781357706019 0.50275426427774228
|
||||
0.84695178356442291 0.1418121948905855 0.51101182387798261
|
||||
0.82968743367193953 0.12850859076870802 0.5423386494351099
|
||||
0.82226795238624728 0.12310298935169575 0.55521070025011254
|
||||
0.82226795238624728 0.12310298935169572 0.55521070025011254
|
||||
0.81389356246462441 0.11874744154864894 0.56789366986248413
|
||||
0.79307076339523386 0.10851189307750797 0.59819314586024919
|
||||
0.78745552743149327 0.10609528287383579 0.60630413399985716
|
||||
0.78560578771446699 0.10542210643598442 0.60871986758868479
|
||||
0.77318510024650355 0.10194841255523886 0.62479622481419606
|
||||
0.77156308049914157 0.10155294642477924 0.62688758712066828
|
||||
0.74644278217951743 0.096124922711889466 0.65746189559341328
|
||||
0.74328545761836984 0.095572989323982616 0.66096525556418162
|
||||
0.72858929180595311 0.094046635219543179 0.67713360594626881
|
||||
0.71884915497263779 0.093588483842681203 0.68777595190194329
|
||||
0.69813515078208477 0.093116941936638692 0.70892487408416871
|
||||
0.69602657944578872 0.09312926541647408 0.71089969747156689
|
||||
0.66704995977036097 0.095052466200525487 0.73781627941851213
|
||||
0.66455433327713243 0.095362650095153129 0.74011618472454044
|
||||
0.64339140453754151 0.098424941615366676 0.75815048575026589
|
||||
0.64081678241520534 0.098941938751961223 0.76032257344343512
|
||||
0.61001812379817832 0.1056352994139447 0.78429103445404746
|
||||
0.60770816150558549 0.10617487126239183 0.78594000042913037
|
||||
0.58417903277383187 0.11307342108777625 0.80253395542112949
|
||||
0.57278135509939099 0.11695476797072324 0.8104943439581207
|
||||
0.55513243511370003 0.123158824652338 0.82188503772742816
|
||||
0.5512195414246408 0.12458499692215487 0.82416586116838453
|
||||
0.51873480041451092 0.13843733448120876 0.84282425105969128
|
||||
0.51657855931435848 0.13944047800987086 0.84405122505983243
|
||||
0.49982529754025784 0.14730961092137676 0.85311732979922927
|
||||
0.49724573572225761 0.14854713354961635 0.85435218642293975
|
||||
0.4889881761220175 0.15304821643557709 0.85818780510941428
|
||||
0.4576613505648901 0.17031256632806047 0.87149140923129198
|
||||
0.44478929974988757 0.17773204761375261 0.87689701064830428
|
||||
0.44478929974988746 0.17773204761375266 0.87689701064830428
|
||||
0.43210633013751587 0.18610643753537565 0.88125255845135109
|
||||
0.40180685413975104 0.20692923660476614 0.89148810692249203
|
||||
0.39369586600014295 0.21254447256850689 0.89390471712616426
|
||||
0.39128013241131554 0.21439421228553296 0.89457789356401551
|
||||
0.37520377518580433 0.22681489975349645 0.89805158744476099
|
||||
0.37311241287933189 0.22843691950085854 0.8984470535752207
|
||||
0.34253810440658672 0.25355721782048268 0.90387507728811034
|
||||
0.3390347444358186 0.25671454238163 0.90442701067601727
|
||||
0.32286639405373108 0.271410708194047 0.90595336478045685
|
||||
0.31222404809805682 0.2811508450273621 0.90641151615731874
|
||||
0.29107512591583118 0.30186484921791523 0.90688305806336111
|
||||
0.28910030252843322 0.30397342055421106 0.90687073458352596
|
||||
0.26218372058148809 0.33295004022963903 0.90494753379947435
|
||||
0.25988381527545967 0.33544566672286746 0.9046373499048469
|
||||
0.24184951424973422 0.35660859546245849 0.90157505838463314
|
||||
0.23967742655656482 0.35918321758479488 0.90105806124803833
|
||||
0.21570896554595276 0.38998187620182151 0.89436470058605511
|
||||
0.21405999957086966 0.39229183849441451 0.893825128737608
|
||||
0.1974660445788706 0.41582096722616779 0.88692657891222382
|
||||
0.18950565604187924 0.42721864490060907 0.88304523202927665
|
||||
0.17811496227257201 0.44486756488630003 0.87684117534766193
|
||||
0.17583413883161547 0.44878045857535925 0.87541500307784514
|
||||
0.15717574894030886 0.48126519958548875 0.86156266551879135
|
||||
0.15594877494016779 0.48342144068564119 0.86055952199012919
|
||||
0.14688267020077073 0.50017470245974227 0.85269038907862316
|
||||
0.14564781357706014 0.50275426427774228 0.85145286645038376
|
||||
0.1418121948905855 0.51101182387798283 0.84695178356442269
|
||||
0.12850859076870802 0.5423386494351099 0.82968743367193953
|
||||
0.12310298935169575 0.55521070025011254 0.82226795238624728
|
||||
0.12310298935169572 0.55521070025011254 0.82226795238624728
|
||||
0.11874744154864894 0.56789366986248413 0.81389356246462441
|
||||
0.10851189307750805 0.59819314586024896 0.79307076339523386
|
||||
0.10609528287383586 0.60630413399985694 0.78745552743149316
|
||||
0.10542210643598447 0.60871986758868468 0.78560578771446687
|
||||
0.10194841255523887 0.62479622481419628 0.77318510024650311
|
||||
0.10155294642477927 0.62688758712066828 0.77156308049914146
|
||||
0.096124922711889493 0.65746189559341328 0.74644278217951743
|
||||
0.095572989323982643 0.66096525556418151 0.74328545761836984
|
||||
0.09404663521954322 0.6771336059462687 0.72858929180595311
|
||||
0.093588483842681203 0.68777595190194329 0.71884915497263779
|
||||
0.093116941936638636 0.70892487408416871 0.69813515078208488
|
||||
0.093129265416474122 0.71089969747156689 0.69602657944578861
|
||||
0.095052466200525557 0.7378162794185118 0.66704995977036108
|
||||
0.095362650095153129 0.74011618472454033 0.66455433327713254
|
||||
0.098424941615366676 0.758150485750266 0.64339140453754151
|
||||
0.098941938751961223 0.76032257344343512 0.64081678241520534
|
||||
0.10563529941394462 0.78429103445404746 0.61001812379817821
|
||||
0.10617487126239186 0.78594000042913037 0.60770816150558549
|
||||
0.11307342108777627 0.80253395542112949 0.58417903277383187
|
||||
0.11695476797072325 0.81049434395812059 0.57278135509939099
|
||||
0.12315882465233809 0.82188503772742794 0.55513243511370003
|
||||
0.12458499692215494 0.8241658611683842 0.55121954142464069
|
||||
0.13843733448120885 0.84282425105969117 0.5187348004145107
|
||||
0.13944047800987086 0.84405122505983243 0.51657855931435837
|
||||
0.1473096109213767 0.85311732979922927 0.49982529754025778
|
||||
0.14854713354961635 0.85435218642293975 0.49724573572225772
|
||||
0.44564650023159863 0.34126814896874336 0.82760814841975505
|
||||
0.27542468411056592 0.78691464920034204 0.55218346430918919
|
||||
0.82760814841975505 0.44564650023159863 0.34126814896874336
|
||||
0.55218346430918919 0.27542468411056592 0.78691464920034204
|
||||
0.78691464920034204 0.55218346430918919 0.27542468411056592
|
||||
0.34126814896874336 0.82760814841975505 0.44564650023159863
|
||||
0.30369631682393589 0.52293928186267558 0.79643145005237248
|
||||
0.26105426945011484 0.63457761123722189 0.7274351680516471
|
||||
0.79643145005237248 0.30369631682393589 0.52293928186267558
|
||||
0.7274351680516471 0.26105426945011484 0.63457761123722201
|
||||
0.63457761123722201 0.7274351680516471 0.26105426945011484
|
||||
0.52293928186267558 0.79643145005237248 0.30369631682393589
|
||||
0.63704738383668802 0.33543172738922172 0.69401454380114713
|
||||
0.50369111272938427 0.52836121174546036 0.68346886752821701
|
||||
0.69401454380114724 0.63704738383668813 0.33543172738922178
|
||||
0.68346886752821701 0.50369111272938438 0.52836121174546036
|
||||
0.33543172738922172 0.69401454380114713 0.63704738383668802
|
||||
0.52836121174546025 0.68346886752821701 0.50369111272938438
|
||||
0.42151877198336163 0.46863573506266104 0.77633914798103421
|
||||
0.46047178079401074 0.64151089172333209 0.61353851948571891
|
||||
0.77633914798103421 0.42151877198336163 0.46863573506266104
|
||||
0.61353851948571891 0.4604717807940108 0.64151089172333209
|
||||
0.46863573506266104 0.77633914798103421 0.42151877198336163
|
||||
0.64151089172333209 0.61353851948571891 0.4604717807940108
|
||||
0.61446983418191203 0.27287882084494514 0.74024588618561449
|
||||
0.40632940254264294 0.78437123837371081 0.46867704983435055
|
||||
0.33924096091721673 0.86230450765389344 0.37596077789543381
|
||||
0.74024588618561449 0.61446983418191203 0.27287882084494514
|
||||
0.46867704983435055 0.40632940254264294 0.78437123837371081
|
||||
0.37596077789543381 0.33924096091721673 0.86230450765389344
|
||||
0.78437123837371081 0.46867704983435055 0.40632940254264294
|
||||
0.86230450765389344 0.37596077789543381 0.33924096091721673
|
||||
0.27287882084494514 0.74024588618561449 0.61446983418191203
|
||||
0.32839555720531111 0.64061453708709604 0.69409608332024086
|
||||
0.20012814034344362 0.68018071850695239 0.70519707714513458
|
||||
0.23458495860622128 0.51571602924327076 0.82401873423925942
|
||||
0.35362935294171677 0.46556504362316592 0.81129246939324073
|
||||
0.69409608332024086 0.32839555720531111 0.64061453708709615
|
||||
0.70519707714513458 0.20012814034344362 0.6801807185069525
|
||||
0.82401873423925942 0.23458495860622128 0.51571602924327076
|
||||
0.81129246939324073 0.35362935294171677 0.46556504362316592
|
||||
0.51571602924327076 0.82401873423925942 0.23458495860622128
|
||||
0.46556504362316592 0.81129246939324073 0.35362935294171677
|
||||
0.64061453708709615 0.69409608332024086 0.32839555720531111
|
||||
0.68018071850695239 0.70519707714513447 0.20012814034344359
|
||||
0.67170915887432037 0.4512666656072587 0.58750761901107273
|
||||
0.56664784959934422 0.52372394783737519 0.63610018157997195
|
||||
0.37149736972483099 0.52777252693426735 0.76383628095354983
|
||||
0.58750761901107262 0.67170915887432026 0.45126666560725864
|
||||
0.63610018157997184 0.56664784959934422 0.52372394783737519
|
||||
0.76383628095354983 0.37149736972483099 0.52777252693426735
|
||||
0.45126666560725853 0.58750761901107273 0.67170915887432037
|
||||
0.52372394783737508 0.63610018157997195 0.56664784959934422
|
||||
0.52777252693426735 0.76383628095354983 0.37149736972483099
|
||||
0.19300544019554741 0.62457262167826677 0.75674166021493716
|
||||
0.55216883979414833 0.46626606661797837 0.69116244652106429
|
||||
0.33994835690442565 0.74334549596053456 0.57608383788574391
|
||||
0.75674166021493716 0.19300544019554741 0.62457262167826677
|
||||
0.69116244652106429 0.55216883979414833 0.46626606661797837
|
||||
0.57608383788574391 0.33994835690442565 0.74334549596053456
|
||||
0.62457262167826677 0.75674166021493716 0.19300544019554741
|
||||
0.46626606661797826 0.6911624465210644 0.55216883979414844
|
||||
0.74334549596053456 0.57608383788574391 0.33994835690442565
|
||||
0.48696645046278469 0.27572854131968005 0.82875656716879031
|
||||
0.40547414873191512 0.74192286377215233 0.53398612240605781
|
||||
0.34179011670600551 0.78792826822967776 0.5121997269099976
|
||||
0.82875656716879031 0.48696645046278469 0.27572854131968005
|
||||
0.53398612240605769 0.40547414873191501 0.74192286377215222
|
||||
0.5121997269099976 0.34179011670600551 0.78792826822967776
|
||||
0.74192286377215222 0.53398612240605769 0.40547414873191501
|
||||
0.78792826822967776 0.5121997269099976 0.34179011670600551
|
||||
0.27572854131968005 0.82875656716879031 0.48696645046278469
|
||||
0.38505005624480643 0.58714124035889637 0.71204046096811668
|
||||
0.31802330015895514 0.58336686281126149 0.74735820322637392
|
||||
0.25063608611031912 0.57642063043274483 0.7777665518334006
|
||||
0.71204046096811668 0.38505005624480643 0.58714124035889637
|
||||
0.74735820322637392 0.31802330015895514 0.58336686281126149
|
||||
0.77776655183340049 0.25063608611031907 0.57642063043274483
|
||||
0.57642063043274483 0.77776655183340049 0.25063608611031907
|
||||
0.58714124035889637 0.71204046096811668 0.38505005624480643
|
||||
0.58336686281126149 0.74735820322637392 0.31802330015895514
|
||||
0.65621226556123025 0.39498488175763669 0.64294043714010041
|
||||
0.43823895845745109 0.52969979418799096 0.72619883181352507
|
||||
0.64294043714010041 0.65621226556123025 0.39498488175763669
|
||||
0.72619883181352507 0.43823895845745109 0.52969979418799096
|
||||
0.39498488175763669 0.64294043714010041 0.65621226556123025
|
||||
0.52969979418799096 0.72619883181352507 0.43823895845745109
|
||||
0.48798559166164257 0.46894076499437626 0.73618246464930537
|
||||
0.40176612662410133 0.69466625495449263 0.59667643972673012
|
||||
0.73618246464930537 0.48798559166164257 0.46894076499437626
|
||||
0.59667643972673012 0.40176612662410133 0.69466625495449263
|
||||
0.46894076499437626 0.73618246464930537 0.48798559166164257
|
||||
0.69466625495449263 0.59667643972673012 0.40176612662410133
|
||||
0.64927986178574382 0.20469785983476813 0.7324851174314404
|
||||
0.58942568680894825 0.20731239180326447 0.78076816785433134
|
||||
0.40127702279442362 0.85397772162051189 0.33120809463701678
|
||||
0.40480738995889742 0.82178222598517658 0.40100492526839771
|
||||
0.73248511743144051 0.64927986178574382 0.20469785983476813
|
||||
0.78076816785433134 0.58942568680894825 0.20731239180326447
|
||||
0.33120809463701678 0.40127702279442362 0.85397772162051189
|
||||
0.40100492526839771 0.40480738995889742 0.82178222598517658
|
||||
0.85397772162051189 0.33120809463701678 0.40127702279442362
|
||||
0.82178222598517658 0.40100492526839771 0.40480738995889742
|
||||
0.20469785983476813 0.7324851174314404 0.64927986178574382
|
||||
0.20731239180326447 0.78076816785433134 0.58942568680894825
|
||||
0.26817151760031976 0.68929656115193516 0.6730187872058685
|
||||
0.28407954462258928 0.46039308870086582 0.84103330267207554
|
||||
0.67301878720586839 0.26817151760031971 0.68929656115193505
|
||||
0.84103330267207554 0.28407954462258928 0.46039308870086582
|
||||
0.46039308870086582 0.84103330267207554 0.28407954462258928
|
||||
0.68929656115193505 0.67301878720586839 0.26817151760031971
|
||||
0.62674761880757135 0.51556327979539029 0.58427898032160919
|
||||
0.58427898032160919 0.62674761880757146 0.51556327979539029
|
||||
0.57735026918962573 0.57735026918962573 0.57735026918962584
|
||||
0.51556327979539029 0.58427898032160919 0.62674761880757146
|
||||
0.52579382752597525 0.20828740048796671 0.8247164420172246
|
||||
0.20793674136609455 0.86400769557376311 0.45853354684184816
|
||||
0.1264800315542341 0.61148180127020313 0.78108437977813105
|
||||
0.891573746743482 0.30401279487901051 0.33566720821021828
|
||||
0.78108437977813128 0.1264800315542341 0.61148180127020324
|
||||
0.61148180127020324 0.78108437977813128 0.1264800315542341
|
||||
0.50619228471494349 0.84615687966832631 0.16669704821929851
|
||||
0.62340222914316235 0.13827368218737227 0.76957783850217643
|
||||
0.84615687966832631 0.16669704821929851 0.50619228471494349
|
||||
0.13929176414434621 0.81523570763863507 0.5621285844293008
|
||||
0.45853354684184816 0.20793674136609455 0.86400769557376311
|
||||
0.81523570763863529 0.5621285844293008 0.13929176414434621
|
||||
0.27249577181778528 0.89756031181852247 0.34659997257597425
|
||||
0.33566720821021828 0.891573746743482 0.30401279487901051
|
||||
0.68063975088704343 0.13583622552694097 0.71991530706536411
|
||||
0.13827368218737227 0.76957783850217643 0.62340222914316235
|
||||
0.16669704821929851 0.50619228471494349 0.84615687966832631
|
||||
0.5621285844293008 0.13929176414434621 0.81523570763863529
|
||||
0.25952221836449818 0.39610117388436322 0.88076789123048704
|
||||
0.30401279487901051 0.33566720821021828 0.891573746743482
|
||||
0.34659997257597425 0.27249577181778528 0.89756031181852247
|
||||
0.41838703947458172 0.27466844612618396 0.86574218443040096
|
||||
0.88076789123048704 0.25952221836449818 0.39610117388436322
|
||||
0.76957783850217643 0.62340222914316235 0.13827368218737227
|
||||
0.86400769557376311 0.45853354684184816 0.20793674136609455
|
||||
0.71991530706536411 0.68063975088704343 0.13583622552694097
|
||||
0.89756031181852258 0.3465999725759743 0.27249577181778534
|
||||
0.66669512270283426 0.73357768674250456 0.13183850301701969
|
||||
0.8247164420172246 0.52579382752597525 0.20828740048796671
|
||||
0.45337594379539092 0.86541618975952417 0.21331917890744351
|
||||
0.56644608341520641 0.80357852474018532 0.18275773351615091
|
||||
0.80357852474018532 0.18275773351615091 0.56644608341520641
|
||||
0.39610117388436322 0.88076789123048704 0.25952221836449818
|
||||
0.21331917890744351 0.45337594379539092 0.86541618975952417
|
||||
0.86574218443040096 0.41838703947458172 0.27466844612618396
|
||||
0.135836225526941 0.719915307065364 0.68063975088704354
|
||||
0.27466844612618396 0.86574218443040096 0.41838703947458172
|
||||
0.86541618975952417 0.21331917890744351 0.45337594379539092
|
||||
0.73357768674250456 0.13183850301701969 0.66669512270283426
|
||||
0.20828740048796671 0.8247164420172246 0.52579382752597525
|
||||
0.13183850301701969 0.66669512270283426 0.73357768674250456
|
||||
0.18275773351615091 0.56644608341520641 0.80357852474018532
|
||||
3 242 247 179
|
||||
3 244 250 180
|
||||
3 245 249 181
|
||||
3 247 242 182
|
||||
3 249 245 183
|
||||
3 250 244 184
|
||||
3 252 253 185
|
||||
3 253 252 186
|
||||
3 255 256 187
|
||||
3 256 255 188
|
||||
3 257 259 189
|
||||
3 259 257 190
|
||||
3 260 269 191
|
||||
3 261 266 192
|
||||
3 262 271 193
|
||||
3 263 268 194
|
||||
3 264 267 195
|
||||
3 265 270 196
|
||||
3 334 159 158
|
||||
3 157 156 296
|
||||
3 266 261 197
|
||||
3 267 264 198
|
||||
3 175 174 303
|
||||
3 310 145 327
|
||||
3 99 98 332
|
||||
3 268 263 199
|
||||
3 269 260 200
|
||||
3 37 36 299
|
||||
3 270 265 201
|
||||
3 271 262 202
|
||||
3 40 39 321
|
||||
3 26 25 323
|
||||
3 302 85 331
|
||||
3 56 55 305
|
||||
3 273 294 311
|
||||
3 238 203 191
|
||||
3 275 204 201
|
||||
3 330 205 306
|
||||
3 277 322 305
|
||||
3 241 206 193
|
||||
3 279 207 197
|
||||
3 315 208 314
|
||||
3 281 209 199
|
||||
3 328 210 320
|
||||
3 283 333 303
|
||||
3 235 211 195
|
||||
3 284 212 195
|
||||
3 233 213 334
|
||||
3 285 214 327
|
||||
3 226 215 197
|
||||
3 163 162 329
|
||||
3 303 171 309
|
||||
3 313 134 133
|
||||
3 327 141 312
|
||||
3 286 216 191
|
||||
3 236 217 332
|
||||
3 308 103 102
|
||||
3 311 112 111
|
||||
3 287 218 331
|
||||
3 229 219 199
|
||||
3 288 220 323
|
||||
3 232 221 201
|
||||
3 289 222 193
|
||||
3 239 223 321
|
||||
3 15 14 307
|
||||
3 323 22 326
|
||||
3 297 74 73
|
||||
3 81 80 316
|
||||
3 319 44 43
|
||||
3 305 52 317
|
||||
3 290 224 194
|
||||
3 234 225 192
|
||||
3 215 226 185
|
||||
3 207 279 179
|
||||
3 333 283 180
|
||||
3 291 227 196
|
||||
3 237 228 194
|
||||
3 219 229 187
|
||||
3 209 281 181
|
||||
3 294 273 182
|
||||
3 322 277 183
|
||||
3 293 230 192
|
||||
3 240 231 196
|
||||
3 221 232 190
|
||||
3 204 275 184
|
||||
3 214 285 185
|
||||
3 208 315 179
|
||||
3 213 233 186
|
||||
3 225 234 200
|
||||
3 230 293 198
|
||||
3 211 235 180
|
||||
3 212 284 186
|
||||
3 78 77 316
|
||||
3 218 287 187
|
||||
3 210 328 181
|
||||
3 217 236 188
|
||||
3 104 103 308
|
||||
3 228 237 202
|
||||
3 224 290 200
|
||||
3 203 238 182
|
||||
3 216 286 188
|
||||
3 223 239 189
|
||||
3 231 240 198
|
||||
3 227 291 202
|
||||
3 206 241 183
|
||||
3 222 289 189
|
||||
3 19 18 326
|
||||
3 220 288 190
|
||||
3 205 330 184
|
||||
3 242 315 304
|
||||
3 242 294 182
|
||||
3 244 235 243
|
||||
3 244 204 184
|
||||
3 245 328 318
|
||||
3 245 322 183
|
||||
3 247 238 246
|
||||
3 247 207 179
|
||||
3 249 241 248
|
||||
3 249 209 181
|
||||
3 250 330 295
|
||||
3 250 333 180
|
||||
3 252 226 251
|
||||
3 252 212 186
|
||||
3 253 233 335
|
||||
3 253 214 185
|
||||
3 255 229 254
|
||||
3 255 216 188
|
||||
3 256 236 325
|
||||
3 256 218 187
|
||||
3 257 239 324
|
||||
3 257 220 190
|
||||
3 259 232 258
|
||||
3 259 222 189
|
||||
3 260 216 254
|
||||
3 260 224 200
|
||||
3 261 230 251
|
||||
3 261 226 197
|
||||
3 262 222 258
|
||||
3 262 227 202
|
||||
3 263 224 254
|
||||
3 263 229 199
|
||||
3 264 212 251
|
||||
3 264 230 198
|
||||
3 265 227 258
|
||||
3 265 232 201
|
||||
3 127 126 315
|
||||
3 296 153 335
|
||||
3 296 233 334
|
||||
3 266 207 246
|
||||
3 266 234 192
|
||||
3 267 240 243
|
||||
3 267 235 195
|
||||
3 295 1 333
|
||||
3 310 214 335
|
||||
3 149 148 310
|
||||
3 67 66 328
|
||||
3 119 118 294
|
||||
3 298 93 325
|
||||
3 298 236 332
|
||||
3 268 209 248
|
||||
3 268 237 194
|
||||
3 269 234 246
|
||||
3 269 238 191
|
||||
3 34 33 324
|
||||
3 299 239 321
|
||||
3 270 204 243
|
||||
3 270 240 196
|
||||
3 271 237 248
|
||||
3 271 241 193
|
||||
3 8 7 330
|
||||
3 300 220 324
|
||||
3 30 29 300
|
||||
3 302 218 325
|
||||
3 318 60 322
|
||||
3 273 301 272
|
||||
3 273 203 182
|
||||
3 238 269 246
|
||||
3 238 247 182
|
||||
3 275 221 274
|
||||
3 275 205 184
|
||||
3 7 6 330
|
||||
3 330 250 184
|
||||
3 277 317 276
|
||||
3 277 206 183
|
||||
3 241 271 248
|
||||
3 241 249 183
|
||||
3 279 215 278
|
||||
3 279 208 179
|
||||
3 126 125 315
|
||||
3 315 242 179
|
||||
3 281 219 280
|
||||
3 281 210 181
|
||||
3 66 65 328
|
||||
3 328 245 181
|
||||
3 283 309 282
|
||||
3 283 211 180
|
||||
3 235 267 243
|
||||
3 235 244 180
|
||||
3 284 211 282
|
||||
3 284 213 186
|
||||
3 233 296 335
|
||||
3 233 253 186
|
||||
3 285 312 278
|
||||
3 285 215 185
|
||||
3 226 261 251
|
||||
3 226 252 185
|
||||
3 329 213 282
|
||||
3 309 167 329
|
||||
3 313 208 278
|
||||
3 137 136 312
|
||||
3 286 203 272
|
||||
3 286 217 188
|
||||
3 236 298 325
|
||||
3 236 256 188
|
||||
3 308 217 272
|
||||
3 301 107 308
|
||||
3 287 316 280
|
||||
3 287 219 187
|
||||
3 229 263 254
|
||||
3 229 255 187
|
||||
3 288 326 274
|
||||
3 288 221 190
|
||||
3 232 265 258
|
||||
3 232 259 190
|
||||
3 289 206 276
|
||||
3 289 223 189
|
||||
3 239 299 324
|
||||
3 239 257 189
|
||||
3 307 205 274
|
||||
3 18 17 326
|
||||
3 297 210 280
|
||||
3 316 77 76
|
||||
3 319 223 276
|
||||
3 317 48 319
|
||||
3 290 228 292
|
||||
3 290 225 200
|
||||
3 234 266 246
|
||||
3 234 269 200
|
||||
3 215 285 278
|
||||
3 215 279 197
|
||||
3 207 247 246
|
||||
3 207 266 197
|
||||
3 309 329 282
|
||||
3 309 283 303
|
||||
3 333 250 295
|
||||
3 177 176 333
|
||||
3 291 231 292
|
||||
3 291 228 202
|
||||
3 237 268 248
|
||||
3 237 271 202
|
||||
3 219 287 280
|
||||
3 219 281 199
|
||||
3 209 249 248
|
||||
3 209 268 199
|
||||
3 301 308 272
|
||||
3 301 273 311
|
||||
3 294 242 304
|
||||
3 294 117 116
|
||||
3 317 319 276
|
||||
3 317 277 305
|
||||
3 322 245 318
|
||||
3 322 58 57
|
||||
3 293 225 292
|
||||
3 293 231 198
|
||||
3 240 270 243
|
||||
3 240 267 198
|
||||
3 221 288 274
|
||||
3 221 275 201
|
||||
3 204 244 243
|
||||
3 204 270 201
|
||||
3 335 151 150
|
||||
3 312 313 278
|
||||
3 312 285 327
|
||||
3 214 253 335
|
||||
3 214 310 327
|
||||
3 208 279 278
|
||||
3 208 313 314
|
||||
3 213 284 282
|
||||
3 213 329 334
|
||||
3 225 290 292
|
||||
3 225 293 192
|
||||
3 230 264 251
|
||||
3 230 261 192
|
||||
3 211 283 282
|
||||
3 211 284 195
|
||||
3 212 252 251
|
||||
3 212 264 195
|
||||
3 91 90 325
|
||||
3 316 297 280
|
||||
3 316 287 331
|
||||
3 218 256 325
|
||||
3 218 302 331
|
||||
3 210 281 280
|
||||
3 210 297 320
|
||||
3 217 286 272
|
||||
3 217 308 332
|
||||
3 101 100 332
|
||||
3 228 291 292
|
||||
3 228 290 194
|
||||
3 224 260 254
|
||||
3 224 263 194
|
||||
3 203 273 272
|
||||
3 203 286 191
|
||||
3 216 255 254
|
||||
3 216 260 191
|
||||
3 223 289 276
|
||||
3 223 319 321
|
||||
3 41 40 321
|
||||
3 231 293 292
|
||||
3 231 291 196
|
||||
3 227 262 258
|
||||
3 227 265 196
|
||||
3 206 277 276
|
||||
3 206 289 193
|
||||
3 222 259 258
|
||||
3 222 262 193
|
||||
3 32 31 324
|
||||
3 326 307 274
|
||||
3 326 288 323
|
||||
3 220 257 324
|
||||
3 220 300 323
|
||||
3 205 275 274
|
||||
3 205 307 306
|
||||
3 294 304 119
|
||||
3 294 118 117
|
||||
3 72 71 320
|
||||
3 297 72 320
|
||||
3 73 72 297
|
||||
3 4 295 5
|
||||
3 3 295 4
|
||||
3 2 295 3
|
||||
3 123 304 124
|
||||
3 121 304 122
|
||||
3 122 304 123
|
||||
3 294 116 311
|
||||
3 161 334 162
|
||||
3 159 334 160
|
||||
3 160 334 161
|
||||
3 110 109 301
|
||||
3 311 111 301
|
||||
3 111 110 301
|
||||
3 46 319 47
|
||||
3 44 319 45
|
||||
3 45 319 46
|
||||
3 143 327 144
|
||||
3 142 327 143
|
||||
3 141 327 142
|
||||
3 24 323 25
|
||||
3 22 323 23
|
||||
3 23 323 24
|
||||
3 298 95 94
|
||||
3 93 298 94
|
||||
3 324 299 34
|
||||
3 324 33 32
|
||||
3 295 2 0
|
||||
3 1 295 0
|
||||
3 304 315 124
|
||||
3 315 125 124
|
||||
3 92 91 325
|
||||
3 93 92 325
|
||||
3 296 155 154
|
||||
3 153 296 154
|
||||
3 165 329 166
|
||||
3 163 329 164
|
||||
3 164 329 165
|
||||
3 35 299 36
|
||||
3 34 299 35
|
||||
3 296 158 157
|
||||
3 156 155 296
|
||||
3 76 75 297
|
||||
3 316 76 297
|
||||
3 97 298 98
|
||||
3 95 298 96
|
||||
3 96 298 97
|
||||
3 299 39 38
|
||||
3 38 37 299
|
||||
3 310 150 149
|
||||
3 300 29 28
|
||||
3 26 300 27
|
||||
3 27 300 28
|
||||
3 89 302 90
|
||||
3 88 302 89
|
||||
3 300 31 30
|
||||
3 107 301 108
|
||||
3 308 107 106
|
||||
3 302 88 87
|
||||
3 86 302 87
|
||||
3 85 302 86
|
||||
3 10 306 11
|
||||
3 9 306 10
|
||||
3 8 306 9
|
||||
3 152 151 335
|
||||
3 153 152 335
|
||||
3 326 21 20
|
||||
3 19 326 20
|
||||
3 303 176 175
|
||||
3 174 173 303
|
||||
3 139 312 140
|
||||
3 137 312 138
|
||||
3 138 312 139
|
||||
3 59 58 322
|
||||
3 60 59 322
|
||||
3 171 303 172
|
||||
3 309 171 170
|
||||
3 309 170 169
|
||||
3 305 57 56
|
||||
3 55 54 305
|
||||
3 141 140 312
|
||||
3 307 326 17
|
||||
3 307 17 16
|
||||
3 120 304 121
|
||||
3 119 304 120
|
||||
3 52 305 53
|
||||
3 317 51 50
|
||||
3 317 52 51
|
||||
3 332 102 101
|
||||
3 100 99 332
|
||||
3 306 307 13
|
||||
3 306 13 12
|
||||
3 307 14 13
|
||||
3 63 318 64
|
||||
3 62 318 63
|
||||
3 308 102 332
|
||||
3 318 328 64
|
||||
3 328 65 64
|
||||
3 129 314 130
|
||||
3 127 314 128
|
||||
3 128 314 129
|
||||
3 316 80 79
|
||||
3 78 316 79
|
||||
3 331 84 83
|
||||
3 82 331 83
|
||||
3 81 331 82
|
||||
3 308 106 105
|
||||
3 105 104 308
|
||||
3 178 177 333
|
||||
3 1 178 333
|
||||
3 167 309 168
|
||||
3 329 167 166
|
||||
3 310 148 147
|
||||
3 146 310 147
|
||||
3 145 310 146
|
||||
3 115 311 116
|
||||
3 113 311 114
|
||||
3 114 311 115
|
||||
3 313 312 136
|
||||
3 313 136 135
|
||||
3 133 132 313
|
||||
3 313 132 314
|
||||
3 132 131 314
|
||||
3 315 314 127
|
||||
3 321 43 42
|
||||
3 42 41 321
|
||||
3 316 331 81
|
||||
3 48 317 49
|
||||
3 319 48 47
|
||||
3 318 62 61
|
||||
3 60 318 61
|
||||
3 319 43 321
|
||||
3 317 50 49
|
||||
3 69 320 70
|
||||
3 67 320 68
|
||||
3 68 320 69
|
||||
3 295 330 5
|
||||
3 330 6 5
|
||||
3 15 307 16
|
||||
3 299 321 39
|
||||
3 322 57 305
|
||||
3 305 54 53
|
||||
3 323 300 26
|
||||
3 320 71 70
|
||||
3 300 324 31
|
||||
3 302 325 90
|
||||
3 22 21 326
|
||||
3 145 144 327
|
||||
3 328 320 67
|
||||
3 334 329 162
|
||||
3 306 12 11
|
||||
3 297 75 74
|
||||
3 330 306 8
|
||||
3 168 309 169
|
||||
3 85 84 331
|
||||
3 311 113 112
|
||||
3 172 303 173
|
||||
3 298 332 98
|
||||
3 108 301 109
|
||||
3 303 333 176
|
||||
3 134 313 135
|
||||
3 334 158 296
|
||||
3 335 150 310
|
||||
3 130 314 131
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -95,6 +95,7 @@ protected:
|
|||
mutable bool m_bad_vertices_initialized;
|
||||
bool m_with_manifold_criterion;
|
||||
bool m_with_boundary;
|
||||
std::optional<FT> m_squared_facet_min_size ;
|
||||
|
||||
private:
|
||||
// computes and return an ordered pair of Vertex
|
||||
|
|
@ -141,7 +142,7 @@ private:
|
|||
return this->r_tr_.min_squared_distance(fcenter, cp(wp)) - cw(wp);
|
||||
}
|
||||
|
||||
Facet
|
||||
std::pair<Facet, FT>
|
||||
biggest_incident_facet_in_complex(const Vertex_handle v) const
|
||||
{
|
||||
#ifdef CGAL_MESHES_DEBUG_REFINEMENT_POINTS
|
||||
|
|
@ -195,10 +196,12 @@ private:
|
|||
<< std::endl;
|
||||
#endif // CGAL_MESHES_DEBUG_REFINEMENT_POINTS
|
||||
|
||||
return biggest_facet;
|
||||
return { biggest_facet, biggest_sq_dist };
|
||||
}
|
||||
|
||||
Facet biggest_incident_facet_in_complex(const Edge& arete) const {
|
||||
std::pair<Facet, FT>
|
||||
biggest_incident_facet_in_complex(const Edge& arete) const
|
||||
{
|
||||
// Find the first facet in the incident facets
|
||||
// of the edge which is in the Complex
|
||||
// use the list of incident facets in the complex
|
||||
|
|
@ -239,7 +242,20 @@ private:
|
|||
<< biggest_sq_dist << std::endl;
|
||||
#endif // CGAL_MESHES_DEBUG_REFINEMENT_POINTS
|
||||
|
||||
return biggest_facet;
|
||||
return { biggest_facet, biggest_sq_dist };
|
||||
}
|
||||
|
||||
bool is_smaller_than_min_size(const FT& sq_dist) const
|
||||
{
|
||||
if(!m_squared_facet_min_size )
|
||||
return false;
|
||||
return sq_dist < *m_squared_facet_min_size;
|
||||
}
|
||||
|
||||
template<typename T> //T may be Edge or Vertex_handle
|
||||
bool biggest_incident_facet_is_smaller_than_min_size(const T& t) const
|
||||
{
|
||||
return is_smaller_than_min_size(biggest_incident_facet_in_complex(t).second);
|
||||
}
|
||||
|
||||
///////////////////////
|
||||
|
|
@ -324,6 +340,7 @@ public:
|
|||
, m_bad_vertices_initialized(false)
|
||||
, m_with_manifold_criterion((mesh_topology & MANIFOLD_WITH_BOUNDARY) != 0)
|
||||
, m_with_boundary((mesh_topology & NO_BOUNDARY) == 0)
|
||||
, m_squared_facet_min_size(criteria.squared_min_radius_bound())
|
||||
{
|
||||
#ifdef CGAL_MESH_3_DEBUG_CONSTRUCTORS
|
||||
std::cerr << "CONS: Refine_facets_manifold_base";
|
||||
|
|
@ -357,12 +374,15 @@ public:
|
|||
( (!m_with_boundary) &&
|
||||
(this->r_c3t3_.face_status(*eit) == C3t3::BOUNDARY) ) )
|
||||
{
|
||||
const auto [biggest_f, sq_dist] = biggest_incident_facet_in_complex(*eit);
|
||||
if (is_smaller_than_min_size(sq_dist))
|
||||
continue;
|
||||
|
||||
#ifdef CGAL_LINKED_WITH_TBB
|
||||
// Parallel
|
||||
if (std::is_convertible<Concurrency_tag, Parallel_tag>::value)
|
||||
{
|
||||
this->insert_bad_facet(biggest_incident_facet_in_complex(*eit),
|
||||
typename Base::Quality());
|
||||
this->insert_bad_facet(biggest_f, typename Base::Quality());
|
||||
} else
|
||||
#endif // CGAL_LINKED_WITH_TBB
|
||||
{ // Sequential
|
||||
|
|
@ -395,7 +415,12 @@ public:
|
|||
end = this->r_tr_.finite_vertices_end();
|
||||
vit != end; ++vit)
|
||||
{
|
||||
if( this->r_c3t3_.face_status(vit) == C3t3::SINGULAR ) {
|
||||
if( this->r_c3t3_.face_status(vit) == C3t3::SINGULAR )
|
||||
{
|
||||
const auto [biggest_f, sq_dist] = biggest_incident_facet_in_complex(vit);
|
||||
if (is_smaller_than_min_size(sq_dist))
|
||||
continue;
|
||||
|
||||
#ifdef CGAL_MESHES_DEBUG_REFINEMENT_POINTS
|
||||
std::cerr << "m_bad_vertices.insert("
|
||||
<< this->r_tr_.point(vit) << ")\n";
|
||||
|
|
@ -404,8 +429,7 @@ public:
|
|||
// Parallel
|
||||
if (std::is_convertible<Concurrency_tag, Parallel_tag>::value)
|
||||
{
|
||||
this->insert_bad_facet(biggest_incident_facet_in_complex(vit),
|
||||
typename Base::Quality());
|
||||
this->insert_bad_facet(biggest_f, typename Base::Quality());
|
||||
} else
|
||||
#endif // CGAL_LINKED_WITH_TBB
|
||||
{ // Sequential
|
||||
|
|
@ -489,7 +513,7 @@ public:
|
|||
<< this->r_tr_.point(edgevv.second)
|
||||
<< "\n";
|
||||
#endif // CGAL_MESHES_DEBUG_REFINEMENT_POINTS
|
||||
return biggest_incident_facet_in_complex(first_bad_edge);
|
||||
return biggest_incident_facet_in_complex(first_bad_edge).first;
|
||||
} else {
|
||||
CGAL_assertion(!m_bad_vertices.empty());
|
||||
const Vertex_handle& v = *m_bad_vertices.begin();
|
||||
|
|
@ -506,7 +530,7 @@ public:
|
|||
dump_c3t3(this->r_c3t3_, "dump-crash");
|
||||
CGAL_error_msg("this->r_c3t3_.face_status(v) != C3t3::SINGULAR");
|
||||
}
|
||||
return biggest_incident_facet_in_complex(v);
|
||||
return biggest_incident_facet_in_complex(v).first;
|
||||
}
|
||||
} //end Sequential
|
||||
}
|
||||
|
|
@ -568,13 +592,17 @@ public:
|
|||
(this->r_c3t3_.face_status(edge) == C3t3::BOUNDARY) )
|
||||
)
|
||||
{
|
||||
const auto [biggest_f, sq_dist] = biggest_incident_facet_in_complex(edge);
|
||||
if (is_smaller_than_min_size(sq_dist))
|
||||
continue;
|
||||
|
||||
#ifdef CGAL_LINKED_WITH_TBB
|
||||
// Parallel
|
||||
if (std::is_convertible<Concurrency_tag, Parallel_tag>::value)
|
||||
{
|
||||
this->insert_bad_facet(biggest_incident_facet_in_complex(edge),
|
||||
typename Base::Quality());
|
||||
} else
|
||||
this->insert_bad_facet(biggest_f, typename Base::Quality());
|
||||
}
|
||||
else
|
||||
#endif // CGAL_LINKED_WITH_TBB
|
||||
{ // Sequential
|
||||
m_bad_edges.insert(Bad_edge(edge_to_edgevv(edge),
|
||||
|
|
@ -616,6 +644,10 @@ public:
|
|||
// !this->r_c3t3_.is_regular_or_boundary_for_vertices(*vit)
|
||||
)
|
||||
{
|
||||
const auto [biggest_f, sq_dist] = biggest_incident_facet_in_complex(*vit);
|
||||
if (is_smaller_than_min_size(sq_dist))
|
||||
continue;
|
||||
|
||||
#ifdef CGAL_MESHES_DEBUG_REFINEMENT_POINTS
|
||||
std::cerr << "m_bad_vertices.insert("
|
||||
<< this->r_tr_.point(*vit) << ")\n";
|
||||
|
|
@ -624,9 +656,9 @@ public:
|
|||
// Parallel
|
||||
if (std::is_convertible<Concurrency_tag, Parallel_tag>::value)
|
||||
{
|
||||
this->insert_bad_facet(biggest_incident_facet_in_complex(*vit),
|
||||
typename Base::Quality());
|
||||
} else
|
||||
this->insert_bad_facet(biggest_f, typename Base::Quality());
|
||||
}
|
||||
else
|
||||
#endif // CGAL_LINKED_WITH_TBB
|
||||
{ // Sequential
|
||||
m_bad_vertices.insert(*vit);
|
||||
|
|
@ -639,6 +671,10 @@ public:
|
|||
// !this->r_c3t3_.is_regular_or_boundary_for_vertices(v)
|
||||
)
|
||||
{
|
||||
const auto [biggest_f, sq_dist] = biggest_incident_facet_in_complex(v);
|
||||
if (is_smaller_than_min_size(sq_dist))
|
||||
return;
|
||||
|
||||
#ifdef CGAL_MESHES_DEBUG_REFINEMENT_POINTS
|
||||
std::cerr << "m_bad_vertices.insert("
|
||||
<< this->r_tr_.point(v) << ")\n";
|
||||
|
|
@ -647,9 +683,9 @@ public:
|
|||
// Parallel
|
||||
if (std::is_convertible<Concurrency_tag, Parallel_tag>::value)
|
||||
{
|
||||
this->insert_bad_facet(biggest_incident_facet_in_complex(v),
|
||||
typename Base::Quality());
|
||||
} else
|
||||
this->insert_bad_facet(biggest_f, typename Base::Quality());
|
||||
}
|
||||
else
|
||||
#endif // CGAL_LINKED_WITH_TBB
|
||||
{ // Sequential
|
||||
m_bad_vertices.insert(v);
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ protected:
|
|||
{
|
||||
#ifdef CGAL_MESH_3_DEBUG_FACET_CRITERIA
|
||||
std::cerr << "Cell too small (uniform size): sq_radius[" << size
|
||||
<< "] bound[" << B_ << "]\n";
|
||||
<< "] bound[" << sq_radius_bound_ << "]\n";
|
||||
#endif
|
||||
return Is_bad(Quality(sq_radius_bound_/size));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,6 +25,8 @@
|
|||
#include <CGAL/Mesh_facet_topology.h>
|
||||
#include <CGAL/Mesh_3/Is_mesh_domain_field_3.h>
|
||||
|
||||
#include <optional>
|
||||
|
||||
namespace CGAL {
|
||||
|
||||
/*!
|
||||
|
|
@ -131,9 +133,13 @@ public:
|
|||
const DistanceField& distance_bound,
|
||||
const Mesh_facet_topology topology = FACET_VERTICES_ON_SURFACE,
|
||||
const FT& min_radius_bound = 0.)
|
||||
: squared_min_radius_bound_(std::nullopt)
|
||||
{
|
||||
if (FT(0) != min_radius_bound)
|
||||
{
|
||||
init_min_radius(min_radius_bound);
|
||||
squared_min_radius_bound_ = CGAL::square(min_radius_bound);
|
||||
}
|
||||
|
||||
if ( FT(0) != angle_bound )
|
||||
init_aspect(angle_bound);
|
||||
|
|
@ -173,6 +179,13 @@ public:
|
|||
return topology_;
|
||||
}
|
||||
|
||||
std::optional<FT> squared_min_radius_bound() const {
|
||||
if(squared_min_radius_bound_)
|
||||
return *squared_min_radius_bound_;
|
||||
else
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
private:
|
||||
void init_aspect(const FT& angle_bound)
|
||||
{
|
||||
|
|
@ -242,6 +255,7 @@ private:
|
|||
private:
|
||||
Criteria criteria_;
|
||||
Mesh_facet_topology topology_;
|
||||
std::optional<FT> squared_min_radius_bound_;
|
||||
}; // end class Mesh_facet_criteria_3
|
||||
|
||||
} // end namespace CGAL
|
||||
|
|
|
|||
|
|
@ -115,6 +115,7 @@ public:
|
|||
// Types
|
||||
typedef Index_ Index;
|
||||
typedef typename GT::FT FT;
|
||||
typedef typename Vb::Point Point;
|
||||
|
||||
// Constructor
|
||||
Mesh_vertex_3()
|
||||
|
|
@ -324,6 +325,7 @@ struct Mesh_vertex_base_3 {
|
|||
#endif
|
||||
using Vertex_handle = typename Triangulation_data_structure::Vertex_handle;
|
||||
using Cell_handle = typename Triangulation_data_structure::Cell_handle;
|
||||
using Point = typename Vb::Point;
|
||||
|
||||
template < class TDS3 >
|
||||
struct Rebind_TDS {
|
||||
|
|
|
|||
|
|
@ -997,6 +997,8 @@ add_featured_edges_to_graph(const Polyhedron_type& p,
|
|||
g_copy[pair.first].insert(get(fpm, face(he,p)));
|
||||
}
|
||||
}
|
||||
else
|
||||
std::cout << "self loop ignored at point " << get(vpm, source(e, graph)) << std::endl;
|
||||
}
|
||||
|
||||
#if CGAL_MESH_3_PROTECTION_DEBUG & 2
|
||||
|
|
|
|||
|
|
@ -39,6 +39,7 @@ endif()
|
|||
|
||||
create_single_source_cgal_program( "test_meshing_implicit_function.cpp" )
|
||||
create_single_source_cgal_program( "test_meshing_polyhedral_complex.cpp" )
|
||||
create_single_source_cgal_program( "test_meshing_polyhedral_complex_with_manifold_and_min_size.cpp")
|
||||
create_single_source_cgal_program( "test_meshing_polyhedron.cpp" )
|
||||
create_single_source_cgal_program( "test_meshing_polylines_only.cpp" )
|
||||
create_single_source_cgal_program( "test_meshing_polyhedron_with_features.cpp" )
|
||||
|
|
@ -81,6 +82,7 @@ foreach(target
|
|||
test_meshing_with_one_step
|
||||
test_min_edge_length
|
||||
test_min_size_criteria
|
||||
test_meshing_polyhedral_complex_with_manifold_and_min_size
|
||||
)
|
||||
if(TARGET ${target})
|
||||
target_link_libraries(${target} PUBLIC CGAL::Eigen3_support)
|
||||
|
|
|
|||
|
|
@ -0,0 +1,89 @@
|
|||
#include <CGAL/Exact_predicates_inexact_constructions_kernel.h>
|
||||
|
||||
#include <CGAL/Mesh_triangulation_3.h>
|
||||
#include <CGAL/Mesh_complex_3_in_triangulation_3.h>
|
||||
#include <CGAL/Mesh_criteria_3.h>
|
||||
|
||||
#include <CGAL/Polyhedral_complex_mesh_domain_3.h>
|
||||
#include <CGAL/make_mesh_3.h>
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cassert>
|
||||
|
||||
#include <fstream>
|
||||
#include <CGAL/IO/File_medit.h>
|
||||
|
||||
// Domain
|
||||
typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
|
||||
typedef CGAL::Mesh_polyhedron_3<K>::type Polyhedron;
|
||||
typedef CGAL::Polyhedral_complex_mesh_domain_3<K> Mesh_domain;
|
||||
|
||||
|
||||
typedef CGAL::Sequential_tag Concurrency_tag;
|
||||
|
||||
// Triangulation
|
||||
typedef CGAL::Mesh_triangulation_3<Mesh_domain,CGAL::Default,Concurrency_tag>::type Tr;
|
||||
|
||||
typedef CGAL::Mesh_complex_3_in_triangulation_3<
|
||||
Tr,Mesh_domain::Corner_index,Mesh_domain::Curve_index> C3t3;
|
||||
|
||||
// Criteria
|
||||
typedef CGAL::Mesh_criteria_3<Tr> Mesh_criteria;
|
||||
|
||||
namespace params = CGAL::parameters;
|
||||
|
||||
const char* const filenames[] = {
|
||||
"meshes/polyhedral_complex_of_spheres/Sphere1.off",
|
||||
"meshes/polyhedral_complex_of_spheres/Sphere2.off",
|
||||
"meshes/polyhedral_complex_of_spheres/Sphere3.off",
|
||||
"meshes/polyhedral_complex_of_spheres/Intersection12.off",
|
||||
"meshes/polyhedral_complex_of_spheres/Intersection13.off"
|
||||
};
|
||||
|
||||
const std::pair<int, int> incident_subdomains[] = {
|
||||
std::make_pair(1, 0),
|
||||
std::make_pair(2, 0),
|
||||
std::make_pair(3, 0),
|
||||
std::make_pair(1, 2),
|
||||
std::make_pair(1, 3)
|
||||
};
|
||||
|
||||
int main()
|
||||
{
|
||||
const std::size_t nb_patches = sizeof(filenames) / sizeof(const char*);
|
||||
assert(sizeof(incident_subdomains) == nb_patches * sizeof(std::pair<int, int>));
|
||||
std::vector<Polyhedron> patches(nb_patches);
|
||||
for(std::size_t i = 0; i < nb_patches; ++i) {
|
||||
std::ifstream input(CGAL::data_file_path(filenames[i]));
|
||||
if(!(input >> patches[i])) {
|
||||
std::cerr << "Error reading " << filenames[i] << " as a polyhedron!/n";
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
// Create domain
|
||||
Mesh_domain domain(patches.begin(), patches.end(),
|
||||
incident_subdomains, incident_subdomains+nb_patches);
|
||||
|
||||
// do not detect borders/features, otherwise the manifold criterion
|
||||
// will have no effect, and the test will be useless
|
||||
//domain.detect_borders();
|
||||
|
||||
// Mesh criteria
|
||||
Mesh_criteria criteria(params::edge_size(1.0).edge_min_size(0.1)
|
||||
//.facet_distance(0.1)
|
||||
.facet_min_size(0.05)
|
||||
//.facet_topology(CGAL::FACET_VERTICES_ON_SAME_SURFACE_PATCH)
|
||||
//.cell_radius_edge_ratio(3.)
|
||||
);
|
||||
|
||||
// Mesh generation
|
||||
C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria,
|
||||
params::no_perturb(), params::no_exude(),
|
||||
params::manifold());
|
||||
|
||||
std::ofstream medit_file("out.mesh");
|
||||
CGAL::IO::write_MEDIT(medit_file, c3t3);
|
||||
medit_file.close();
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
|
@ -505,6 +505,11 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
|
|||
ui.facetMinSizing,
|
||||
SLOT(setEnabled(bool)));
|
||||
|
||||
connect(ui.noFacetMinSizing,
|
||||
SIGNAL(toggled(bool)),
|
||||
ui.sizingMinLabel,
|
||||
SLOT(setEnabled(bool)));
|
||||
|
||||
connect(
|
||||
ui.noAngle, SIGNAL(toggled(bool)), ui.facetAngle, SLOT(setEnabled(bool)));
|
||||
|
||||
|
|
@ -518,6 +523,11 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
|
|||
ui.tetMinSizing,
|
||||
SLOT(setEnabled(bool)));
|
||||
|
||||
connect(ui.noTetMinSizing,
|
||||
SIGNAL(toggled(bool)),
|
||||
ui.tetMinSizingLabel,
|
||||
SLOT(setEnabled(bool)));
|
||||
|
||||
connect(ui.noTetShape,
|
||||
SIGNAL(toggled(bool)),
|
||||
ui.tetShape,
|
||||
|
|
@ -599,6 +609,8 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
|
|||
diag); // max
|
||||
ui.facetSizing->setValue(facets_sizing);
|
||||
ui.facetMinSizing->setValue(facets_min_sizing);
|
||||
ui.facetMinSizing->setEnabled(false);
|
||||
ui.noFacetMinSizing->setChecked(false);
|
||||
ui.edgeSizing->setValue(edges_sizing);
|
||||
ui.edgeMinSizing->setValue(edges_min_sizing);
|
||||
|
||||
|
|
@ -606,6 +618,8 @@ void Mesh_3_plugin::mesh_3(const Mesh_type mesh_type,
|
|||
diag); // max
|
||||
ui.tetSizing->setValue(tets_sizing); // default value
|
||||
ui.tetMinSizing->setValue(tets_min_sizing);
|
||||
ui.tetMinSizing->setEnabled(false);
|
||||
ui.noTetMinSizing->setChecked(false);
|
||||
|
||||
ui.approx->setRange(diag * 10e-7, // min
|
||||
diag); // max
|
||||
|
|
|
|||
Loading…
Reference in New Issue