Share

Acad.Vector3d Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.Vector3d(x, y, z);

Group

ACAD Namespace

Parameters

Parameter Description
x Input X coordinate
y Input Y coordinate
z Input Z coordinate

Description

This class wraps the AcGeVector3d ObjectARX class. Vector3d represents a vector in 3D space. It can be viewed as a structure consisting of three doubles.

Properties

Name Type Description Condition
x number Returns the X property value Read-write
y number Returns the Y property value Read-write
z number Returns the Z property value Read-write

Exception

Throws a TypeError object.

ACAD Namespace

Was this information helpful?