Comments (6)
@janetournois It seems to come from the projection step. The vertex 2459 is very close to a face in the input:
In the output, I guess it gets projected onto the face rather that the original vertex (probably because of the smoothing that moves it). I'm not sure we can do much in such a case. For sure adding that vertex as constrained vertex would fix the issue, but it's a "manual" fix.
As it seems the mesh was not combinatorially modified near that vertex, maybe the smoothing should only apply to modified regions?
from cgal.
But it still has self-intersections after setting do_projection to false.
PMP::isotropic_remeshing(faces(mesh), 0.3, mesh,
CGAL::parameters::number_of_iterations(10)
.protect_constraints(true).do_project(false));
from cgal.
As I tried to say, I guess that the smoothing moves the vertex across the face and the projection put it on the face.
from cgal.
You can try disabling the smoothing
from cgal.
As I tried to say, I guess that the smoothing moves the vertex across the face and the projection put it on the face.
Thanks. I set number_of_relaxation_steps(0)
, and the problem was solved.
from cgal.
As I tried to say, I guess that the smoothing moves the vertex across the face and the projection put it on the face.
Thanks. I set
number_of_relaxation_steps(0)
, and the problem was solved.
Thank you very much for your assistance. I conducted further tests, and although probability of occurrence is less, it still doesn't resolve all cases.
PMP::isotropic_remeshing(faces(merge_mesh), 0.3, merge_mesh,
CGAL::parameters::number_of_iterations(3).number_of_relaxation_steps(0).do_project(false)
from cgal.
Related Issues (20)
- PMP: CGAL::Polygon_mesh_processing::experimental::remove_self_intersections() abnormal result HOT 1
- Preconditon violation detection
- Bug with optimal transportation curve reconstruction
- How to determine a polygon_with_holes is simple. HOT 2
- Got strange exception when segment intersection HOT 18
- A point projected on line, but "bounded_side_2" returned not ON_BOUNDARY sometime HOT 7
- Unknown CMake command "create_single_source_cgal_program". HOT 4
- The vertex order of the bounding box outputted by CGAL::oriented_bounding_box() is not fixed. HOT 9
- LAStools support HOT 1
- Documentation in CGAL::Polyline_simplification_2::Stop_above_cost_threshold Class HOT 3
- Proposal to add variable sizing fields with respect to euclidean distance to a surface in a 3D image
- Use pointmatcher with CGAL fail HOT 2
- A same Surface_mesh randomly got self intersections HOT 2
- Got CGAL ERROR: precondition violation! while inserting a single Polygon_2 to Polygon_Set_2 HOT 2
- Degraded performance of Polygon_set_2 intersections in multithreaded environment HOT 2
- How to convert my double type data to exact type? Not related to CGAL::Cartesian_converter.
- create_interior_straight_skeleton_2 using too much memory and time HOT 2
- Compilation failure of CGAL::cross_product on Windows MSVC HOT 3
- 'get_parameter': no matching overloaded function found HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgal.