M_Rhino_Geometry_Point3d_Subtract - mcneel/rhinocommon-api-docs GitHub Wiki

Point3d.Subtract Method (Point3d, Point3d)

Subtracts a point from another 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 Vector3d Subtract(
	Point3d point1,
	Point3d point2
)

VB

Public Shared Function Subtract ( 
	point1 As Point3d,
	point2 As Point3d
) As Vector3d

Parameters

 

point1
Type: Rhino.Geometry.Point3d
A point.
point2
Type: Rhino.Geometry.Point3d
Another point.

Return Value

Type: Vector3d
A new vector that is the difference of point minus vector.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Point3d Structure
Subtract Overload
Rhino.Geometry Namespace

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