Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] What are the member of Polylines

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] What are the member of Polylines


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] What are the member of Polylines
  • Date: Fri, 9 Mar 2018 09:07:41 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:3bQrsxSgA0Kc5d3NmWKvSLaDd9psv+yvbD5Q0YIujvd0So/mwa6yYhWN2/xhgRfzUJnB7Loc0qyK6/umATRIyK3CmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TW94jEIBxrwKxd+KPjrFY7OlcS30P2594HObwlSizexfb1/IA+qoQnNq8IbnZZsJqEtxxXTv3BGYf5WxWRmJVKSmxbz+MK994N9/ipTpvws6ddOXb31cKokQ7NYCi8mM30u683wqRbDVwqP6WACXWgQjxFFHhLK7BD+Xpf2ryv6qu9w0zSUMMHqUbw5Xymp4qF2QxHqlSgHLSY0/nzJhMx+jKxVoxyvqBJwzIHWfI6bO+Fzfr/ecN4AWWZNQshcWi5HD4ihb4UPFe0BPeNAooXzulUBswCxChO3BOPzyz9HmHn21rA83eQmCwHG3QsgH84Tu3jQrdv6KqASUeWrw6nU1zXCb/NY1i3h54jUdRAhu/GNUbd+fcHMzkQvDAfFjlKKqYzkODOVyv4Bs22f7+d7WuKvjnQoqwB1ojS12sgsjYzJi5sTx1vZ+yt5x4M1Kse5SE59edOrDJRQuDueN4dsRcMiWW5otD41yr0HpZ67fDUKx489yxHDbPyHdo6F6Q/gWuaJOTp1hn1odKiiixqs8UWs0O7xWteu3FtKsyZJitvBu3MX2xDN5cWKS+Fx8lql1DuBzQze6OFJLEYpnqTBMZEh2KQ/lp8LvETDACD2nEL2gbeTdko+++io7/3rY7vjppOALoN0hAHzPrk0lsywBuQ4NQcOX2yF9uimyLLj+kj5TK1Ljv0wjKbZrIjXKMYUq6KjHgNZzIYu5wy8Aju4ytgVnWQLIEpAeB2djojpP1/OIOr/Dfe6m1msizNrx/fcPr3gBZXNMmLPkLLlfbtm5E5czRA8zdFb555OFr4BJ/fzVlfrtNPEFh85LxC0w+H/Bdph2YMRQ2aPDraEP6PTql+H+v8vI/KXZIIOozb8K/0l5+b0gnMjmF8de7Op3ZoNZ3yiEPRmORbRXX25idgIFSIGvxE1UffxoFyESz9aIXioDIwm4TRuQrmrB47YWoGghvSl2z26GYEeJk9LDVWBDW35WYyPR/AWeWPYapt6ljseVL+9DYol/R6rvQ7+jbFgK7yHqWUjqZv/2Y0ttKXonhYo+GksVpXP4yS2V2hx21gwaXoz1aF7r1Z6zw7ag6d9iv1cU9dU4qEQC1toBdvn1+V/TuvKdEfZZN7QEQSpR9ynBXc6Sddjm4ZTMXY4IM2ri1X45wTvA7IRkObWVpk986aZwH2pYsggkjDJ064ui1RgScxKZzWr

Bbox_3 has a constructor from a range of objects (points included).
https://doc.cgal.org/latest/Kernel_23/classCGAL_1_1Bbox__3.html

For the affine transformation, you'll have to use a for-loop and apply
the transformation to all the points. Adding an overload to transform
that is taking a range of object is not difficult to do it you think
that would make sense to have. Feel free to an issue on github:
https://github.com/CGAL/cgal/issues

Sebastien.

On 03/05/2018 10:01 PM, Stuart Hungerford wrote:
On Mon, Mar 5, 2018 at 9:10 PM, Laurent Rineau (CGAL/GeometryFactory)
<>
wrote:

Le Sunday, March 4, 2018 12:51:52 PM CET R Abilash a écrit :
I got the following code from
https://doc.cgal.org/latest/Polygon_mesh_processing/Polygon_mesh_processing
_2mesh_slicer_example_8cpp-example.html

I want to know the members of the Polylines data structure.
Can some one guide me?

You can see the types here in the code:

typedef std::vector<K::Point_3> Polyline_type;
typedef std::list< Polyline_type > Polylines;

Does that mean there's no simple way to take the bounding box (AABB)
of a polyline? Or apply an affine transform?


Thanks,

Stu




Archive powered by MHonArc 2.6.18.

Top of Page