Subtracts a 3-D point or a 3-D vector from a 3-D point.
Rhino.PointSubtract (arrPoint1, arrPoint2)
arrPoint1 |
Required. Array. The 3-D point to subtract from. |
arrPoint2 |
Required. Array. The 3-D point or a 3-D vector to subtract. |
Array |
The resulting 3-D point if successful. |
Null |
On error. |
Dim arrPoint1, arrPoint2, arrPoint
arrPoint1 = Array(1,1,1)
arrPoint2 = Array(2,2,2)
arrPoint = Rhino.PointSubtract(arrPoint1, arrPoint2)
Rhino.Print Rhino.Pt2Str(arrPoint)