Skip to Content.
Sympa Menu

cgal-discuss - Problem in transformation of Nef_3 polyhedron

Subject: CGAL users discussion list

List archive

Problem in transformation of Nef_3 polyhedron


Chronological Thread 
  • From: Wonwoo Lee <>
  • To:
  • Subject: Problem in transformation of Nef_3 polyhedron
  • Date: Sat, 17 Feb 2007 00:24:53 +0900 (KST)


Hi.

I created a pyramid with Polyhedron_3 and converted to Nef_3 polyhedron.

Than, I appled a transformation, which consists of rotation and translation by using Nef_polyhedron_3::Aff_transformation_3.

But after transformation. the Nef_3 polyhedron is not displayed in OpenGL space.

If I apply only translation, it does not disappear. I think the problem is in applying rotation.

What happens to my Nef_3 polyhedron ?

My code is something like below :

Nef_polyhedron_3 N ;

Nef_polyhedron_3::Aff_transformation_3 transf(1,0,0, 200,
0,1/sqrt(2),-1/sqrt(2), 200,
0,1/sqrt(2), 1/sqrt(2), 200) ;

N.transform(transf) ;




Archive powered by MHonArc 2.6.16.

Top of Page