Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Transformation of 3d point without p.transform

Subject: CGAL users discussion list

List archive

[cgal-discuss] Transformation of 3d point without p.transform


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Transformation of 3d point without p.transform
  • Date: Wed, 25 Feb 2009 14:43:16 +0100 (CET)

Hello,
how can i change directly the x, y, z, (w) value of an existing point_3
without
using transform?
I want to apply my own transformation on the point. I want to to change the x,
y, and z value for a point in a function and then return the same point with
the new values.

For example:

Point test(1.0,2.0,3.0)

Point transformation(Point in)
{

// in.x(5.3) ???
// in.y(2.3) ???
// in.z(6.4) ???

return in;
}

transformation(test);



Archive powered by MHonArc 2.6.16.

Top of Page