Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

can't translate 3D model to 0,0,0

  • To: mathgroup at smc.vnet.net
  • Subject: [mg88380] can't translate 3D model to 0,0,0
  • From: will parr <willpowers69 at hotmail.com>
  • Date: Sat, 3 May 2008 06:18:07 -0400 (EDT)

Dear Math Forum,

I have a problem with translating some 3D models to 0,0,0. I have been using the following code:

ma = Mean@a; ac = # + ({0, 0, 0} - ma) & /@ a;

where "a" is a 3D model made up of many 3D coordinates. However, this code does not work - in that the new centroid (mean) of the model is not at 0,0,0. can anyone suggest an alternative method?

best wishes,

Will


  • Prev by Date: orthonormal eigenvectors
  • Next by Date: Re: list of dates
  • Previous by thread: Re: orthonormal eigenvectors
  • Next by thread: Re: can't translate 3D model to 0,0,0