Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] aff_transformation_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] aff_transformation_3


Chronological Thread 
  • From: "Rubén Martínez" <>
  • To:
  • Subject: [cgal-discuss] aff_transformation_3
  • Date: Sat, 1 Sep 2007 11:56:59 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PG3lQRTtyoiCqMs8GradMhImJvLVI37njHdmmTPPE7mxfhCpYQHeycRNOgdKlAj1b0ldK3HuC+bnweMUrffvGSlwUiM+gvYCakUn3xdxEeWaZGJfpZIjVpkGpQBZNK7htnfciBIE4WjcjzwmF+elzUjre0isqNBTgzWZ4qzh6TA=

Hi !!!

I need some help with de aff transformation 3.

I have this code:

double m[16];

// Initialize m[ i ] with my transf

CGALTransf TAfin ( m[0], m[1], m[2], m[3],
m[4], m[5], m[6], m[7],
m[8],m[9],m[10], m[11],);

// N is a nef polyedra

N.transform( TAfin );

My problem is that no aply correctly the transformations. Why? I dont
know, because I use this other code:

m[3] =5.0;
m[7]=5.0;

CGALTransf TAfin ( m[0], m[1], m[2], CGAL::Gmpz(m[3]),
m[4], m[5], m[6], CGAL::Gmpz(m[7]),
m[8],m[9],m[10], m[11],);

// N is a nef polyedra
N.transform( TAfin );

In this case the aff trans run correctly, btu if I use the coge
CGAL::Gmpz with all th elements of the matrix I not obtain any result,
there are not trnaformation.
The aff trnasf only run correctly when the data is a const double
introduces by me in the code.

I need help, How I obtain it? I need obtain de transf with the matrix
m initializes in other site with elemens double.

Bye!



Archive powered by MHonArc 2.6.16.

Top of Page