Point3d.Subtraction (Point3d, Point3d) Operator

Subtract two points, with a vector as result.
public static Vector3d operator -( 
   Point3d p1
   Point3d p2 
)

Parameters

p1
Point3d

The 'to' point for the vector.

p2
Point3d

The 'from' point fro the vector.

Return Value

Vector3d

A vector from p2 to p1.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition