%%PageItemTitle%%

VectorDraw Web Library

JsPropertiesExtractor Send comments on this topic.
ViewToWorld Method
See Also 
vdWebLibrary Namespace > vdrawObj Class : ViewToWorld Method
pt
The point object in world coordinates. A point is a 3 sized array object.
Converts and returns the given point from world coordinates to view coordinates.

Syntax

JScript 
public function ViewToWorld( 
   pt : Object
) : Object;

Parameters

pt
The point object in world coordinates. A point is a 3 sized array object.

Return Value

A 3 sized array object that contains the x, y and z values of the given point in world coordinates.

Remarks

You can create a point object using newpoint.

See Also