Revision: 73874
          http://sourceforge.net/p/brlcad/code/73874
Author:   starseeker
Date:     2019-09-10 14:49:30 +0000 (Tue, 10 Sep 2019)
Log Message:
-----------
If we want to produce valid meshes for small objects, BN_TOL_DIST is probably 
too big here...

Modified Paths:
--------------
    brlcad/trunk/src/libbrep/cdt_surf.cpp

Modified: brlcad/trunk/src/libbrep/cdt_surf.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_surf.cpp       2019-09-10 14:42:06 UTC (rev 
73873)
+++ brlcad/trunk/src/libbrep/cdt_surf.cpp       2019-09-10 14:49:30 UTC (rev 
73874)
@@ -65,7 +65,6 @@
     const ON_Surface *s;
     const ON_BrepFace *f;
     RTree<void *, double, 2> *rt_trims;
-    RTree<void *, double, 3> *rt_trims_3d;
     std::map<int,ON_3dPoint *> *strim_pnts;
     std::map<int,ON_3dPoint *> *strim_norms;
     double u1, u2, v1, v2;
@@ -672,7 +671,7 @@
        double within_dist = 0.0;
        double cos_within_ang = 0.0;
 
-       if ((surface_width < BN_TOL_DIST) || (surface_height < BN_TOL_DIST)) {
+       if ((surface_width < ON_ZERO_TOLERANCE) || (surface_height < 
ON_ZERO_TOLERANCE)) {
            return;
        }
 
@@ -681,7 +680,6 @@
        sinfo.s = s;
        sinfo.f = &face;
        sinfo.rt_trims = &(s_cdt->trim_segs[face_index]);
-       sinfo.rt_trims_3d = &(s_cdt->edge_segs_3d[face_index]);
        sinfo.strim_pnts = &(s_cdt->strim_pnts[face_index]);
        sinfo.strim_norms = &(s_cdt->strim_norms[face_index]);
        double t1, t2;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to