Subject: [ggl] transform linestring into a ring
From: Bruno Lalande (bruno.lalande)
Date: 2011-04-13 12:52:56
To view a model of a concept as a refinement of that concept is not safe in
> general, but based on runtime information or knowledge of the programmer
> than the invariant of the refinement is true it is a very useful capability.
> In Polygon I provide the view_as template function that returns a view_of
> wrapper type.
> template<typename concept_type, typename object_type>
> view_of<concept_type, object_type>
> view_as<concept_type>(object_type& obj);
That's exactly what I was about to propose, sounds like a very useful
addition indeed. Let's add it when we'll have time.
-------------- next part --------------
An HTML attachment was scrubbed...
Geometry list run by mateusz at loskot.net