Changeset 1936:0722ea2b0907 in lemon-0.x
- Timestamp:
- 01/31/06 22:14:11 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2511
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
gui/graph_displayer_canvas.h
r1888 r1936 352 352 NoteBookTab & mytab; 353 353 354 XY GraphDisplayerCanvas::calcArrowPos(XY, XY, XY, XY, bool);354 XY calcArrowPos(XY, XY, XY, XY, bool); 355 355 }; 356 356 -
gui/xml.h
r1894 r1936 208 208 XmlIo(std::ostream& _os) : _writeMode(true), os(_os), 209 209 level(-1), 210 is( *(std::istream*)(NULL)) {}210 is(std::cin) {} 211 211 ///\e 212 212 /// 213 213 XmlIo(std::istream& _is) : _writeMode(false), 214 os( *(std::ostream*)(NULL)), is(_is),214 os(std::cout), is(_is), 215 215 line_number(1) {} 216 216 -
lemon/graph_to_eps.h
r1930 r1936 838 838 case MALE: 839 839 bb.add(-p+mycoords[n]); 840 bb.add(xy<double>(1.5*ns,1.5*s qrt(3)*ns)+mycoords[n]);840 bb.add(xy<double>(1.5*ns,1.5*std::sqrt(3.0)*ns)+mycoords[n]); 841 841 break; 842 842 case FEMALE: … … 1065 1065 if(isInsideNode((-(t1+t2)/2)*d,rn,node_shape)) t1=(t1+t2)/2; 1066 1066 else t2=(t1+t2)/2; 1067 double l=s qrt(d.normSquare());1067 double l=std::sqrt(d.normSquare()); 1068 1068 d/=l; 1069 1069
Note: See TracChangeset
for help on using the changeset viewer.