M_Rhino_Geometry_Point2d_op_Subtraction - mcneel/rhinocommon-api-docs GitHub Wiki

Point2d.Subtraction Operator (Point2d, Point2d)

Subtracts point2 from point1.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

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

VB

Public Shared Operator - ( 
	point1 As Point2d,
	point2 As Point2d
) As Vector2d

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 coordinatewise subtracted by point2.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Point2d Structure
Subtraction Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️