M_Rhino_Geometry_Point2d_Subtract_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Point2d.Subtract 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) Version: Rhino 6.0

Syntax

C#

public static Point2d Subtract(
	Point2d point,
	Vector2d vector
)

VB

Public Shared Function Subtract ( 
	point As Point2d,
	vector As Vector2d
) As Point2d

Parameters

 

point
Type: Rhino.Geometry.Point2d
A point.
vector
Type: Rhino.Geometry.Vector2d
A vector.

Return Value

Type: Point2d
A new point that is coordinatewise subtracted by vector.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Point2d Structure
Subtract Overload
Rhino.Geometry Namespace

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