ah yes, true, allways forget that one :)

On Sep 12, 2010, at 10:11 AM, richardolsson wrote:

> One should be able to use Number3D.interpolate() with a factor of 0.5
> to find the middle point. So Number3D has you covered on all of the
> above!
> 
> Cheers
> /R
> 
> On Sep 11, 10:27 pm, Fabrice3D <[email protected]> wrote:
>> take a look at Number3D, its all in there.
>> 
>> away3d.core.math.Number3D
>> 
>> for middle point, its simply (val+val)/2 per x, y, z
>> there's no out of the box get midpoints function.
>> 
>> Fabrice
>> 
>> On Sep 11, 2010, at 7:39 PM, Julien wrote:
>> 
>> 
>> 
>>> Hello !
>> 
>>> I was wondering if away3d had some functions to get :
>> 
>>> The Length of 2 3DPoints.
>>> The Angle of 2 3DPoints.
>>> The Center of 2 3DPoints.
>> 
>>> by 2 3DPoints i mean something like :
>>> pointA = (0, 20, 16);
>>> pointB = (18, 26, 0);
>>> getLength(pointA, pointB);
>>> getAngle(pointA, pointB);
>>> getCenter(pointA, pointB);
>> 
>>> Basically, i know how to get all theses values in a 2D space, but it
>>> must be more complicated in 3D environment.
>> 
>>> Thank you for your help !
>> 
>>> By the way, should i mention that away3D rocks ?

Reply via email to