Changeset 885 for cpp/common
- Timestamp:
- 06/24/19 14:44:16 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/common/2d.h
r866 r885 169 169 } 170 170 171 XYRect extensionContaining(const XYRect& r) const 172 { 173 XY<T> p1 = xymin(topLeft(), r.topLeft()); 174 XY<T> p2 = xymax(bottomRight(), r.bottomRight()); 175 return XYRect(p1, p2 - p1); 176 } 177 171 178 XYRect translation(const XY<T>& t) const 172 179 {
Note: See TracChangeset
for help on using the changeset viewer.