On 10 Aug., 09:05, "Anusha " <anu...@cs.usm.my> wrote:
> Torsten <Torsten.Hen...@umsicht.fraunhofer.de> wrote in message <77a63663bbe74ede8c5a7c9071d88...@q3g2000vbc.googlegroups.com>...
> > On 10 Aug., 05:14, "Anusha " <anu...@cs.usm.my> wrote:
> > > Greetings,
>
> > > I have trouble transforming a set of 3D point in x,y,z coordinates to new set of 3D point location defined by a vector. How can I do this? Hope to get some help. Thnks.
>
> > Not clear what you mean.
> > How are the original 3D points stored ? What kind of transformation do
> > you want to apply ? What do you mean by "point location defined by a
> > vector" ( a 3D point location _is_ a vector ) ? How should the
> > transformed point locations be stored ?
>
> > Best wishes
> > Torsten.
>
> Hai,
>
> Sorry for unclear info. Actually I have a 3D point set stored as 3d Matrix that defined the x,y, z coordinates. Thus, every row of the matrix corresponds to a point in the 3D space. then a 3D matrix defines the transformation vector. It says how much a point may change position in x,y,z position defined by +/ values. The final obtained transformed point locations hsould be the in 3D as well to define the positions.
> Hope tis can clear ur doubts.
>
> Thnks.
So if A is the matrix of untransformed points and T is the
transformation matrix in which the ith row contains the vector by
which the ith point should be translated, then simply A_transformed =
A + T.
Or did I miss something ?
Best wishes
Torsten.
