|
Geometry : |
Subject: Re: [geometry] a ring concept implementation of a true circle?
From: joe_at_[hidden]
Date: 2012-09-05 09:25:47
Is there a bug tracking system I should report issues to?
I'm giving the nsphere extension a quick try and having no luck. First,
a
header path is screwed up in trunk.
$ svn diff
Index: extensions/nsphere/core/replace_point_type.hpp
===================================================================
--- extensions/nsphere/core/replace_point_type.hpp (revision
80406)
+++ extensions/nsphere/core/replace_point_type.hpp (working
copy)
@@ -16,7 +16,7 @@
#define
BOOST_GEOMETRY_EXTENSIONS_NSPHERE_CORE_REPLACE_POINT_TYPE_HPP
-#include <boost/geometry/core/replace_point_type.hpp>
+#include <boost/geometry/extensions/util/replace_point_type.hpp>
#include <boost/geometry/extensions/nsphere/core/tags.hpp>
#include
<boost/geometry/extensions/nsphere/geometries/nsphere.hpp>
With that fixed I get various template argument errors just compiling
the
nsphere.hpp file.
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:17:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/core/access.hpp:33:62:
error: wrong number of template arguments (4, should be 5)
In file included from
thirdparty/boost/geometry/extensions/nsphere/core/access.hpp:19:0,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:17,
from src/test.cpp:3:
thirdparty/boost/geometry/core/access.hpp:143:8: error: provided
for âtemplate<class Tag, class Geometry, class CoordinateType, long
unsigned int Dimension, class IsPointer> struct
boost::geometry::core_dispatch::accessâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/core/replace_point_type.hpp:22:0,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:20,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/geometries/nsphere.hpp: In
constructor âboost::geometry::model::nsphere<P, T>::nsphere()â:
thirdparty/boost/geometry/extensions/nsphere/geometries/nsphere.hpp:60:9:
error: âassign_valueâ is not a member of
âboost::geometry::detail::assignâ
thirdparty/boost/geometry/extensions/nsphere/geometries/nsphere.hpp:60:9:
note: suggested alternative:
In file included from
thirdparty/boost/geometry/algorithms/convert.hpp:24:0,
from
thirdparty/boost/geometry/geometries/box.hpp:21,
from
thirdparty/boost/geometry/extensions/util/replace_point_type.hpp:34,
from
thirdparty/boost/geometry/extensions/nsphere/core/replace_point_type.hpp:19,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:20,
from src/test.cpp:3:
thirdparty/boost/geometry/arithmetic/arithmetic.hpp:253:13: note:
âboost::geometry::assign_valueâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:30:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/area.hpp:
At global scope:
thirdparty/boost/geometry/extensions/nsphere/algorithms/area.hpp:70:44:
error: wrong number of template arguments (3, should be 2)
In file included from
thirdparty/boost/geometry/extensions/nsphere/algorithms/area.hpp:19:0,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:30,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/area.hpp:133:8: error:
provided for âtemplate<class Geometry, class Tag> struct
boost::geometry::dispatch::areaâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:33:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/envelope.hpp:67:5:
error: wrong number of template arguments (6, should be 2)
In file included from
thirdparty/boost/geometry/extensions/nsphere/algorithms/envelope.hpp:18:0,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:33,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/envelope.hpp:90:8: error:
provided for âtemplate<class Geometry, class Tag> struct
boost::geometry::dispatch::envelopeâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:33:47:
error: wrong number of template arguments (3, should be 2)
In file included from
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17:0,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/num_points.hpp:102:8: error:
provided for âtemplate<class GeometryTag, class Geometry> struct
boost::geometry::dispatch::num_pointsâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:149:58:
error: wrong number of template arguments (5, should be 4)
In file included from
thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0,
from
thirdparty/boost/geometry/algorithms/num_points.hpp:29,
from
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/within.hpp:173:8: error:
provided for âtemplate<class Geometry1, class Geometry2, class Tag1,
class Tag2> struct boost::geometry::dispatch::withinâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:158:58:
error: wrong number of template arguments (5, should be 4)
In file included from
thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0,
from
thirdparty/boost/geometry/algorithms/num_points.hpp:29,
from
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/within.hpp:173:8: error:
provided for âtemplate<class Geometry1, class Geometry2, class Tag1,
class Tag2> struct boost::geometry::dispatch::withinâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:167:72:
error: wrong number of template arguments (5, should be 4)
In file included from
thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0,
from
thirdparty/boost/geometry/algorithms/num_points.hpp:29,
from
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/within.hpp:173:8: error:
provided for âtemplate<class Geometry1, class Geometry2, class Tag1,
class Tag2> struct boost::geometry::dispatch::withinâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:176:60:
error: wrong number of template arguments (5, should be 4)
In file included from
thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0,
from
thirdparty/boost/geometry/algorithms/num_points.hpp:29,
from
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/within.hpp:173:8: error:
provided for âtemplate<class Geometry1, class Geometry2, class Tag1,
class Tag2> struct boost::geometry::dispatch::withinâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:185:66:
error: wrong number of template arguments (5, should be 4)
In file included from
thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0,
from
thirdparty/boost/geometry/algorithms/num_points.hpp:29,
from
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/within.hpp:173:8: error:
provided for âtemplate<class Geometry1, class Geometry2, class Tag1,
class Tag2> struct boost::geometry::dispatch::withinâ
In file included from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:35:0,
from src/test.cpp:3:
thirdparty/boost/geometry/extensions/nsphere/algorithms/within.hpp:194:61:
error: wrong number of template arguments (5, should be 4)
In file included from
thirdparty/boost/geometry/algorithms/disjoint.hpp:33:0,
from
thirdparty/boost/geometry/algorithms/num_points.hpp:29,
from
thirdparty/boost/geometry/extensions/nsphere/algorithms/num_points.hpp:17,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:34,
from src/test.cpp:3:
thirdparty/boost/geometry/algorithms/within.hpp:173:8: error:
provided for âtemplate<class Geometry1, class Geometry2, class Tag1,
class Tag2> struct boost::geometry::dispatch::withinâ
In file included from
thirdparty/boost/geometry/geometries/point.hpp:26:0,
from
thirdparty/boost/geometry/extensions/util/replace_point_type.hpp:29,
from
thirdparty/boost/geometry/extensions/nsphere/core/replace_point_type.hpp:19,
from
thirdparty/boost/geometry/extensions/nsphere/nsphere.hpp:20,
from src/test.cpp:3:
thirdparty/boost/geometry/util/math.hpp:176:14: error:
âboost::geometry::math::r2dâ defined but not used
[-Werror=unused-variable]
cc1plus: all warnings being treated as errors
make[1]: *** [obj/Debug/test.o] Error 1
make: *** [test] Error 2
Geometry list run by mateusz at loskot.net