[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] libvob/include/vob/geom Fillets2.hxx
From: |
Janne V. Kujala |
Subject: |
[Gzz-commits] libvob/include/vob/geom Fillets2.hxx |
Date: |
Fri, 13 Jun 2003 09:38:13 -0400 |
CVSROOT: /cvsroot/libvob
Module name: libvob
Branch:
Changes by: Janne V. Kujala <address@hidden> 03/06/13 09:38:13
Modified files:
include/vob/geom: Fillets2.hxx
Log message:
twid
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/libvob/libvob/include/vob/geom/Fillets2.hxx.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
Patches:
Index: libvob/include/vob/geom/Fillets2.hxx
diff -u libvob/include/vob/geom/Fillets2.hxx:1.13
libvob/include/vob/geom/Fillets2.hxx:1.14
--- libvob/include/vob/geom/Fillets2.hxx:1.13 Fri Jun 13 09:23:44 2003
+++ libvob/include/vob/geom/Fillets2.hxx Fri Jun 13 09:38:12 2003
@@ -214,7 +214,7 @@
}
- ZVec point(Vec dir, bool &success, float *ptfract = NULL) const {
+ ZVec point(Vec dir, bool &success, float *ptfract = NULL, float tol =
.01) const {
float f0 = 0;
float f1 = 1;
float f;
@@ -231,7 +231,7 @@
Vec dir2 = dir.cw90();
double err;
- double maxerr = .01 * node.r;
+ double maxerr = tol * node.r;
while (1) {
f = 0.5 * (f0 + f1);
@@ -256,7 +256,7 @@
bool success;
float ptfract;
cutangle = M_PI/2 - tangentAngle;
- point(dir, success, &ptfract);
+ point(dir, success, &ptfract, .0001);
if (success)
cutangle = lerp(0, M_PI/2 - tangentAngle, ptfract);
}
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx, Tuomas J. Lukka, 2003/06/01
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx, Tuomas J. Lukka, 2003/06/05
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx, Tuomas J. Lukka, 2003/06/05
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx, Janne V. Kujala, 2003/06/13
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx,
Janne V. Kujala <=
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx, Janne V. Kujala, 2003/06/23
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx, Janne V. Kujala, 2003/06/24
- [Gzz-commits] libvob/include/vob/geom Fillets2.hxx, Janne V. Kujala, 2003/06/24