Method newpoint
- Namespace
- vdWebLibrary
- Assembly
- JsPropertiesExtractor.dll
newpoint(double, double, double)
Creates and returns a new 3 sized Array object. The first element of the Array represents the x value of the point, the second element the y value and the third the z value.
public object newpoint(double x, double y, double z)
Parameters
xdoubleA numerical value representing the x value of the point.
ydoubleA numerical value representing the y value of the point.
zdoubleA numerical value representing the z value of the point.
Returns
- object
A 3 sized Array object containing the x, y, z values of the point.
Examples
function AddCircle() {
var vdcanvas = vdmanager.vdrawObject('canvas');
vdcanvas.AddCircle(vdgeo.newpoint(0, 0, 0), 40, false);
vdcanvas.zoomExtents();
vdcanvas.redraw();
}