Click or drag to resize

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
)

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 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also