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