Group :: Development/Other
RPM: libwfmath
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: wfmath-instantiate.patch
Download
Download
--- 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);
}