Point2fSubtract Method (Point2f, Point2f) |
Subtracts the second point from the first point.
(Provided for languages that do not support operator overloading. You can use the - operator otherwise)
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic static Vector2f Subtract(
Point2f point1,
Point2f point2
)
Public Shared Function Subtract (
point1 As Point2f,
point2 As Point2f
) As Vector2f
Parameters
- point1
- Type: Rhino.GeometryPoint2f
A point (minuend). - point2
- Type: Rhino.GeometryPoint2f
A point (subtrahend).
Return Value
Type:
Vector2fA new vector that is point1 coordinate-wise subtracted by point2.
See Also