Computes the additive inverse of all coordinates in the point, and returns the new point.
(Provided for languages that do not support operator overloading. You can use the - unary operator otherwise)
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static Point2d Negate(
Point2d point
)
Public Shared Function Negate (
point As Point2d
) As Point2d
Parameters
- point
- Type: Rhino.GeometryPoint2d
A point.
Return Value
Type:
Point2dA point value that, when summed with the point input, yields the
Origin.
See Also