Missing elements after using lloyd() or odt()

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing elements after using lloyd() or odt()

imperin
Hello everybody,

Does anybody know how to fix a problem with missing elements after using
lloyd() or odt() optimization(pic. 1)?
If I generate mesh without optimization I have this elements, but quality of
mesh is bad :(
 Mesh_criteria criteria(edge_size=0.0025, facet_angle=30, facet_size=0.0025,
                                facet_distance=0.0000025,
cell_radius_edge_ratio=3, cell_size=0.0025);
 C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria, lloyd(),
                                                             
perturb(sliver_bound=10) );

CGAL version 4.14
Thanks

<http://cgal-discuss.949826.n4.nabble.com/file/t376139/missing_elements.jpg>



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Missing elements after using lloyd() or odt()

Sebastien Loriot (GeometryFactory)
Would you be able to provide an example we can run and compile
so that we can try to reproduce it?
I'm not a meshing specialist but it seems that it might has to do
with protected features.

Thanks,

Sebastien.

On 9/13/19 8:16 AM, imperin wrote:

> Hello everybody,
>
> Does anybody know how to fix a problem with missing elements after using
> lloyd() or odt() optimization(pic. 1)?
> If I generate mesh without optimization I have this elements, but quality of
> mesh is bad :(
>   Mesh_criteria criteria(edge_size=0.0025, facet_angle=30, facet_size=0.0025,
>                                  facet_distance=0.0000025,
> cell_radius_edge_ratio=3, cell_size=0.0025);
>   C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria, lloyd(),
>                                                                
> perturb(sliver_bound=10) );
>
> CGAL version 4.14
> Thanks
>
> <http://cgal-discuss.949826.n4.nabble.com/file/t376139/missing_elements.jpg>
>
>
>
> --
> Sent from: http://cgal-discuss.949826.n4.nabble.com/
>

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Missing elements after using lloyd() or odt()

imperin
This post was updated on .
Hello Sebastien,
I have just uploaded all the files. I also tried to use add_features()
method, instead detect_features(), but nothing happend :( (pic.1)
Could you please take a look and advise? May be Jane knows?
<http://cgal-discuss.949826.n4.nabble.com/file/t376139/missing_elements_after_optimization.jpg
If i increase number of elements, the missing elements go to the corner.(pic.2)

Thanks a lot!

mesh.cpp <http://cgal-discuss.949826.n4.nabble.com/file/t376139/mesh.cpp
read_polylines.h
<http://cgal-discuss.949826.n4.nabble.com/file/t376139/read_polylines.h
geometry.off
<http://cgal-discuss.949826.n4.nabble.com/file/t376139/geometry.off
polylines.txt
<http://cgal-discuss.949826.n4.nabble.com/file/t376139/polylines.txt



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss


Reply | Threaded
Open this post in threaded view
|

Re: Missing elements after using lloyd() or odt()

rdzhao
+1
I did have the same problem with using make_mesh_3 with features.

Waiting for solutions. :)



--
Sent from: http://cgal-discuss.949826.n4.nabble.com/

--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss