Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss][Polyhedron] How to perform coordinate system conversion

Subject: CGAL users discussion list

List archive

[cgal-discuss][Polyhedron] How to perform coordinate system conversion


Chronological Thread 
  • From: "LoadCom" <>
  • To: "" <>
  • Subject: [cgal-discuss][Polyhedron] How to perform coordinate system conversion
  • Date: Fri, 4 Jan 2008 13:54:08 +0800
  • Disposition-notification-to: "LoadCom" <>
  • Organization: LoadCom

Hello all,

There's Aff_transformation_3 and Aff_transformation_2 in CGAL perform
affine transformation. But I don't know how to perform such a conversion
using CGAL:

Given 3 points in 3D space, say A, B and C, I need to construct a
'user coord system' in this manner: use A as the origin of the new system,
vector AB to be along the x axis, z axis pass through A and extends to the
normal direction of the plane determined by the 3 points.

with such a user system, then I will perform coord transformation from
the default system to this user system and vice versa.

Thanks for any help.

Max




Archive powered by MHonArc 2.6.16.

Top of Page