!=  Signature: [const] bool != (const Vector v) Description: Inequality test operator 
*  Signature: [const] Vector * (double f) Description: Scaling by some factor Returns the scaled object. All coordinates are multiplied with the given factor and if necessary rounded. 
+  Signature: [const] Vector + (const Vector v) Description: Adds two vectors Adds vector v to self by adding the coordinates.

Signature: [const] Point + (const Point p) Description: Adds a vector and a point Returns the point p shifted by the vector.

  Signature: [const] Vector  (const Vector v) Description: Subtract two vectors Subtract vector v from self by subtracting the coordinates.

@  Signature: [const] Vector @ (p) Description: Compute the negative of a vector Returns a new vector with x,y.

<  Signature: [const] bool < (const Vector v) Description: "less" comparison operator This operator is provided to establish a sorting
order

==  Signature: [const] bool == (const Vector v) Description: Equality test operator 
_create  Signature: void _create Description: Ensures the C++ object is created
Use this method to ensure the C++ object is created, for example to ensure that resources are allocated. Usually C++ objects are created on demand and not necessarily when the script object is created. 
_destroy  Signature: void _destroy Description: Explicitly destroys the object
Explicitly destroys the object on C++ side if it was owned by the script interpreter. Subsequent access to this object will throw an exception.
If the object is not owned by the script, this method will do nothing. 
_destroyed?  Signature: [const] bool _destroyed? Description: Returns a value indicating whether the object was already destroyed
This method returns true, if the object was destroyed, either explicitly or by the C++ side.
The latter may happen, if the object is owned by a C++ object which got destroyed itself. 
_is_const_object?  Signature: [const] bool _is_const_object? Description: Returns a value indicating whether the reference is a const reference
This method returns true, if self is a const reference.
In that case, only const methods may be called on self. 
_manage  Signature: void _manage Description: Marks the object as managed by the script side.
After calling this method on an object, the script side will be responsible for the management of the object. This method may be called if an object is returned from a C++ function and the object is known not to be owned by any C++ instance. If necessary, the script side may delete the object if the script's reference is no longer required. Usually it's not required to call this method. It has been introduced in version 0.24. 
_unmanage  Signature: void _unmanage Description: Marks the object as no longer owned by the script side.
Calling this method will make this object no longer owned by the script's memory management. Instead, the object must be managed in some other way. Usually this method may be called if it is known that some C++ object holds and manages this object. Technically speaking, this method will turn the script's reference into a weak reference. After the script engine decides to delete the reference, the object itself will still exist. If the object is not managed otherwise, memory leaks will occur. Usually it's not required to call this method. It has been introduced in version 0.24. 
abs  Signature: [const] double abs Description: Returns the length of the vector
'abs' is an alias provided for compatibility with the former point type. 
assign  Signature: void assign (const Vector other) Description: Assigns another object to self 
create  Signature: void create Description: Ensures the C++ object is created Use of this method is deprecated. Use _create instead 
destroy  Signature: void destroy Description: Explicitly destroys the object Use of this method is deprecated. Use _destroy instead 
destroyed?  Signature: [const] bool destroyed? Description: Returns a value indicating whether the object was already destroyed Use of this method is deprecated. Use _destroyed? instead 
dup  Signature: [const] new Vector ptr dup Description: Creates a copy of self 
from_s  Signature: [static] new Vector ptr from_s (string s) Description: Creates an object from a string Creates the object from a string representation (as returned by to_s)

hash  Signature: [const] unsigned long hash Description: Computes a hash value
Returns a hash value for the given vector. This method enables vectors as hash keys. This method has been introduced in version 0.25.
Python specific notes: This method is also available as 'hash(object)'

is_const_object?  Signature: [const] bool is_const_object? Description: Returns a value indicating whether the reference is a const reference Use of this method is deprecated. Use _is_const_object? instead 
length  Signature: [const] double length Description: Returns the length of the vector
'abs' is an alias provided for compatibility with the former point type. 
new  Signature: [static] new Vector ptr new (const DVector dvector) Description: Creates an integer coordinate vector from a floatingpoint coordinate vector Python specific notes: This method is the default initializer of the object

Signature: [static] new Vector ptr new Description: Default constructor: creates a null vector with coordinates (0,0) Python specific notes: This method is the default initializer of the object

Signature: [static] new Vector ptr new (const Point p) Description: Default constructor: creates a vector from a point This constructor is equivalent to computing ppoint(0,0).
This method has been introduced in version 0.25. Python specific notes: This method is the default initializer of the object

Signature: [static] new Vector ptr new (int x,int y) Description: Constructor for a vector from two coordinate values Python specific notes: This method is the default initializer of the object

sprod  Signature: [const] long sprod (const Vector v) Description: Computes the scalar product between self and the given vector The scalar product of a and b is defined as: vp = ax*bx+ay*by.

sprod_sign  Signature: [const] int sprod_sign (const Vector v) Description: Computes the scalar product between self and the given vector and returns a value indicating the sign of the product Returns:  1 if the scalar product is positive, 0 if it is zero and 1 if it is negative. 

sq_abs  Signature: [const] double sq_abs Description: The square length of the vector
'sq_abs' is an alias provided for compatibility with the former point type. 
sq_length  Signature: [const] double sq_length Description: The square length of the vector
'sq_abs' is an alias provided for compatibility with the former point type. 
to_dtype  Signature: [const] DVector to_dtype (double dbu = 1) Description: Converts the vector to a floatingpoint coordinate vector
The database unit can be specified to translate the integercoordinate vector into a floatingpoint coordinate vector in micron units. The database unit is basically a scaling factor.

to_p  Signature: [const] Point to_p Description: Turns the vector into a point
This method returns the point resulting from adding the vector to (0,0).
This method has been introduced in version 0.25. 
to_s  Signature: [const] string to_s Description: String conversion Python specific notes: This method is also available as 'str(object)' and 'repr(object)'

vprod  Signature: [const] long vprod (const Vector v) Description: Computes the vector product between self and the given vector The vector product of a and b is defined as: vp = ax*byay*bx.

vprod_sign  Signature: [const] int vprod_sign (const Vector v) Description: Computes the vector product between self and the given vector and returns a value indicating the sign of the product Returns:  1 if the vector product is positive, 0 if it is zero and 1 if it is negative. 

x  Signature: [const] int x Description: Accessor to the x coordinate Python specific notes: The object exposes a readable attribute 'x'. This is the getter.

x=  Signature: void x= (int coord) Description: Write accessor to the x coordinate Python specific notes: The object exposes a writable attribute 'x'. This is the setter.

y  Signature: [const] int y Description: Accessor to the y coordinate Python specific notes: The object exposes a readable attribute 'y'. This is the getter.

y=  Signature: void y= (int coord) Description: Write accessor to the y coordinate Python specific notes: The object exposes a writable attribute 'y'. This is the setter.
