Boost logo

Geometry :

Subject: [ggl] error when using make_envelope()
From: Vishnu (vrang3)
Date: 2011-07-16 08:08:26


The code below compiles with VS2008 when I use boost-geometry-0.9

// expand the box
boost::geometry::expand(box, boost::geometry::make_envelope<Box2D>(*p)); //
*p is a custom polygon

but when I use boost-geometry distributed with boost_1_47_0, I get these
errors

error C2039: 'make_envelope' : is not a member of 'boost::geometry'
error C2065: 'make_envelope' : undeclared identifier
error C2275: 'Box2D' : illegal use of this type as an expression

What changed between v0.9 and the version that was included in the
boost_1_47_0 distribution with respect to the above?

--
View this message in context: http://boost-geometry.203548.n3.nabble.com/error-when-using-make-envelope-tp3173321p3173321.html
Sent from the Boost Geometry mailing list archive at Nabble.com.

Geometry list run by mateusz at loskot.net