Point2DIntAddition(Point2DInt, Int32) Operator |
Adds a scalar to all the coordinates of a point, and returns the result as a new point.
Namespace: RAYLASE.SPICE3.UtilsAssembly: RAYLASE.SPICE3.Utils (in RAYLASE.SPICE3.Utils.dll) Version: 3.9.0
Syntaxpublic static Point2DInt operator +(
Point2DInt lhs,
int rhs
)
Parameters
- lhs Point2DInt
- The point.
- rhs Int32
- The scalar.
Return Value
Point2DIntThe translated point.
See Also