Operator operator +
operator +(Point3D, Vector3D)
Adds a point and a vector.
Declaration
public static Point3D operator +(Point3D inPoint, Vector3D inVector)
Parameters
| Type | Name | Description |
|---|---|---|
| Point3D | inPoint | Left hand side point. |
| Vector3D | inVector | Right hand side vector. |
Returns
| Type | Description |
|---|---|
| Point3D | Translated point. |
operator +(Point3D, Point3D)
Adds two points.
Declaration
public static Point3D operator +(Point3D inPoint1, Point3D inPoint2)
Parameters
| Type | Name | Description |
|---|---|---|
| Point3D | inPoint1 | Left hand side point. |
| Point3D | inPoint2 | Right hand side point. |
Returns
| Type | Description |
|---|---|
| Point3D | Sum point. |