Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Transformations on 2D Nef Polygons

Subject: CGAL users discussion list

List archive

[cgal-discuss] Transformations on 2D Nef Polygons


Chronological Thread 
  • From: Clifford Wolf <>
  • To:
  • Subject: [cgal-discuss] Transformations on 2D Nef Polygons
  • Date: Tue, 29 Dec 2009 12:36:55 +0100

Hi there!

I wrote an app [1] using 3D Nef Polyhedra and am now trying to also support 2D
Nef Polygons. The Nef_polyhedron_3<Traits> class has a transform() method.
The Nef_polyhedron_2<T> class does not have one.

How do I apply an Aff_transformation_2 to a Nef_polyhedron_2<T> object?

Also: is there a way to convert between Polygon_2<T> and Nef_polyhedron_2<T>
objects back and forth like there is with Polyhedron_3<K> and
Nef_polyhedron_3<K>?

thanks a lot in advance for your help.

yours,
- clifford

[1] http://openscad.org/

--
The great thing about Object Oriented code is that it can make small,
simple problems look like large, complex ones.


  • [cgal-discuss] Transformations on 2D Nef Polygons, Clifford Wolf, 12/29/2009

Archive powered by MHonArc 2.6.16.

Top of Page