Comments (2)
@clausnagel I have been giving some thought at this today. I don't think it's possible to do, and that we actually want that. Let me explain. Assume we have the polygon there: http://val3dity.readthedocs.io/en/v2/errors/#non-planar-polygon-normals-deviation
If we ignore 204 then we might end up having val3dity crash because it's not possible to triangulate the top face: it gets projected to the xy-plane and thus you get duplicate points (triangulation is done by projecting to a plane). Also, if
from val3dity.
okay, I updated val3dity (branch v2) with the following behaviour. (it's now an option --ignore204
efbe24d)
A ring is self-intersecting (error 104) if its projection to the best-fitted plane (done with least-square) through the vertices of the polygon containing the ring has a self-intersection. This rule is there because if it is not possible to project the rings/polygons to a plane, then it is not possible to triangulate it (which is necessary, at least by val3dity, to validate 3D primitives).
If the rings of a polygon pass 203 (planarity with distance to fitted-plane) and have no self-intersection), then I can triangulate it (without modifying its geometry) and then 204 can be tested as before.
The default value of 204 is now 20degree, but can be changed.
option --ignore204
basically puts the planarity_n_tol
to 180degree.
from val3dity.
Related Issues (20)
- OFF files having duplicate vertices are not handled correctly HOT 1
- Possible false-positive 302 when using gml:OrientableSurface HOT 1
- Error code 601 - Buildingparts_overlap HOT 1
- Invalid OBJ file with VID 0 may cause segfault
- make sure the new report works with GeometryTemplate HOT 1
- add PLY support? HOT 1
- add JSON-FG support?
- fme-gen-UUID's in val3dity report HOT 2
- add CityJSONFeature support?
- IndoorGML Geometry2D HOT 1
- e609 should be e906 HOT 1
- Broken link in docs HOT 1
- problem running Val3dity as library (in WSL) HOT 3
- Repair Report list of features HOT 2
- Val3dity Report Inconsistency
- Val3dity Report error id MultiSolid and CompositeSolid HOT 2
- Discussion HOT 2
- Report missing error for SolidErrors in MultiSolid and CompositeSolid HOT 1
- update viz3dity to https://www.rerun.io/ in C++?
- find GEOS on Linux is an issue HOT 2
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 val3dity.