Skip to content

Point2d.Subtraction (Point2d, Point2d)

Public Operator

Subtracts point2 from point1.

Namespace: Rhino.Geometry

Assembly: RhinoCommon (in RhinoCommon.dll)

**Since:**5.0

Syntax

public static Vector2d operator -(
Point2d point1,
Point2d point2
)

Parameters

point1

Type: Rhino.Geometry.Point2d
A point (minuend).

point2

Type: Rhino.Geometry.Point2d
A point (subtrahend).

Return Value

Type: Vector2d
A new vector that is point1 coordinate-wise subtracted by point2.