Point2d.Subtract Method (Point2d, Vector2d)

Point2dSubtract Method (Point2d, Vector2d)

Subtracts a vector from a point.

(Provided for languages that do not support operator overloading. You can use the - operator otherwise)

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Point2d Subtract(
	Point2d point,
	Vector2d vector
)
Public Shared Function Subtract ( 
	point As Point2d,
	vector As Vector2d
) As Point2d

Parameters

point
Type: Rhino.GeometryPoint2d
A point.
vector
Type: Rhino.GeometryVector2d
A vector.

Return Value

Type: Point2d
A new point that is coordinatewise subtracted by vector.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also