Click or drag to resize

Point2fNegate Method

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)
Syntax
public static Point2f Negate(
	Point2f point
)

Parameters

point
Type: Rhino.GeometryPoint2f
A point.

Return Value

Type: Point2f
A point value that, when summed with the point input, yields the origin.
See Also