Adds a 3-D point or a 3-D vector to a 3-D point.
rhinoscriptsyntax.PointAdd (point1, point2)
rhinoscript.pointvector.PointAdd (point1, point2)
point1 |
Required. List of 3 numbers, Point3d, or Vector3d. The 3-D point to add to. |
point2 |
Required. List of 3 numbers, Point3d, or Vector3d. The 3-D point or a 3-D vector to add. |
Point3d |
The resulting 3-D point if successful. |
None |
On error. |
import rhinoscriptsyntax as rs
point1 = (1,1,1)
point2 = (2,2,2)
point = rs.PointAdd(point1, point2)
print point