Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/graph_to_eps.h
- Timestamp:
- 03/02/07 19:04:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_to_eps.h
r2379 r2386 950 950 dim2::Bezier3 bez(s,mm,mm,t); 951 951 double t1=0,t2=1; 952 for(int i =0;i<INTERPOL_PREC;++i)952 for(int ii=0;ii<INTERPOL_PREC;++ii) 953 953 if(isInsideNode(bez((t1+t2)/2)-t,rn,node_shape)) t2=(t1+t2)/2; 954 954 else t1=(t1+t2)/2; … … 957 957 rn*=rn; 958 958 t2=(t1+t2)/2;t1=0; 959 for(int i =0;i<INTERPOL_PREC;++i)959 for(int ii=0;ii<INTERPOL_PREC;++ii) 960 960 if((bez((t1+t2)/2)-apoint).normSquare()>rn) t1=(t1+t2)/2; 961 961 else t2=(t1+t2)/2;
Note: See TracChangeset
for help on using the changeset viewer.