JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.Vector2d Function

Autodesk.AutoCAD.js

JavaScript
function Acad.Vector2d(x,y);
Parameters 
Description 
x Input x coordinate 
Input y coordinate 

This class wraps the AcGeVector2d ObjectARX class. Vector2d represents a vector in 2D space. It can be viewed as a structure consisting of two doubles.

Links
Properties
Name 
Type 
Description 
Condition 
Number 
Returns the X property value 
Read-write 
Number 
Returns the Y property value 
Read-write 
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!