Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37762177
en ru br
Репозитории ALT

Группа :: Разработка/Прочее
Пакет: libwfmath

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: wfmath-instantiate.patch
Скачать


--- wfmath/axisbox.cpp.orig	2011-02-12 10:07:26.000000000 -0600
+++ wfmath/axisbox.cpp	2011-05-15 09:41:06.000000000 -0500
@@ -51,4 +51,10 @@
 template AxisBox<2> Point<2>::boundingBox() const;
 template AxisBox<3> Point<3>::boundingBox() const;
 
+// Make sure these functions get instantiated in case they get inlined here.
+template Point<3> Point<3>::toParentCoords(AxisBox<3> const&) const;
+template Point<3> Point<3>::toLocalCoords(AxisBox<3> const&) const;
+template Point<2> Point<2>::toParentCoords(AxisBox<2> const&) const;
+template Point<2> Point<2>::toLocalCoords(AxisBox<2> const&) const;
+
 }
--- wfmath/polygon.cpp.orig	2011-02-12 10:07:26.000000000 -0600
+++ wfmath/polygon.cpp	2011-05-15 09:41:13.000000000 -0500
@@ -183,8 +183,11 @@
 
 template class Polygon<3>;
 
+// Make sure these functions are instantiated in case they get inlined here.
 template Point<3> _Poly2Orient<3>::convert(const Point<2>& p) const;
 template _Poly2Orient<3>& _Poly2Orient<3>::operator=(_Poly2Orient<3> const&);
 template void _Poly2Orient<3>::rotate(RotMatrix<3> const&, Point<3> const&);
+template void _Poly2Orient<3>::rotate2(RotMatrix<3> const&, Point<2> const&);
+template bool _Poly2Orient<3>::expand(Point<3> const&, Point<2>&, double);
 
 }
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin