%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
VectorDirection Method
See Also 
vdWebLibrary Namespace > vdgeo Class : VectorDirection Method
point1
The base point of the direction vector.
point2
The second point of the direction.
Gets the direction set by two points.

Syntax

JScript 
public function VectorDirection( 
   point1 : Object,
   point2 : Object
) : Object;

Parameters

point1
The base point of the direction vector.
point2
The second point of the direction.

Return Value

Returns the result vector as an array of 3 elements (x, y, z).

See Also