Click or drag to resize

Point2dSubtraction Operator (Point2d, Point2d)

Subtracts point2 from point1.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Vector2d operator -(
	Point2d point1,
	Point2d point2
)

Parameters

point1
Type: Rhino.GeometryPoint2d
A point (minuend).
point2
Type: Rhino.GeometryPoint2d
A point (subtrahend).

Return Value

Type: Vector2d
A new vector that is point1 coordinatewise subtracted by point2.
Version Information

Rhino for Mac

Supported in: 5.4 WIP

Rhino for Windows

Supported in: 6.1 BETA
See Also