Point2d.Addition (Point2d, Vector2d) Operator

Adds a vector to the point giving a new point.
Public Shared Operator +( _ 
ByVal p As Point2d, _ 
ByVal v As Vector2d
) As Point2d
This language is not supported or no code example is available.
public static Point2d operator +( 
Point2d p
Vector2d v 
)
This language is not supported or no code example is available.
public:  
static Point2d^ operator +( 
Point2d^ p
Vector2d^ v 
)
This language is not supported or no code example is available.
JScript supports the use of overloaded operators, but not the declaration of new ones.
This language is not supported or no code example is available.

Parameters

p
Point2d

The point to add vector to.

v
Vector2d

The vector to add to point.

Return Value

Point2d

A new point modified with the vector.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition