Boost logo

Geometry :

Subject: [ggl] geometry::perimeter
From: barend
Date: 2011-03-23 08:21:02

Hi Adam,

> I noticed that geometry::perimeter returns 0 for 2d
boxes. Moreover it's
> not implemented for higher dimensions.
> This
kind of function calculating hypersurface of a geometry could be
usefull. I'll implement my own for now (for boxes).

Good catch, will do
that (for 2d) or, if your version is generic you can send a patch.

> I
noticed that some names in boost::geometry refer to 2d objects and
some to 3d. E.g. there is a box(3d)

We consider box as convenient for
both 2 and 3 dimensins.

-------------- next part --------------
An HTML attachment was scrubbed...

Geometry list run by mateusz at