Translates a given PointD by a specified SizeD.

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Shared Function Add ( _
	pt As PointD, _
	sz As SizeD _
) As PointD
C#
public static PointD Add(
	PointD pt,
	SizeD sz
)
Visual C++
public:
static PointD Add(
	PointD pt, 
	SizeD sz
)
JavaScript
EGIS.ShapeFileLib.PointD.add = function(pt, sz);

Parameters

pt
Type: EGIS.ShapeFileLib..::..PointD
The PointD to translate.
sz
Type: EGIS.ShapeFileLib..::..SizeD
The SizeD that specifies the numbers to add to the coordinates of pt.

Return Value

The translated PointD.

See Also