M_Rhino_Geometry_Point2d_Subtract - mcneel/rhinocommon-api-docs GitHub Wiki
Subtracts the second point from the first point. (Provided for languages that do not support operator overloading. You can use the - operator otherwise)
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public static Vector2d Subtract(
Point2d point1,
Point2d point2
)
VB
Public Shared Function Subtract (
point1 As Point2d,
point2 As Point2d
) As Vector2d
- point1
- Type: Rhino.Geometry.Point2d
A point (minuend). - point2
- Type: Rhino.Geometry.Point2d
A point (subtrahend).
Type: Vector2d
A new vector that is point1 coordinatewise subtracted by point2.
Supported in: 6.0.16224.21491, 5D58w