Point2fAdd Method (Vector2f, Point2f) |
Sums up a point and a vector, and returns a new 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 Point2f Add(
Vector2f vector,
Point2f point
)
Public Shared Function Add (
vector As Vector2f,
point As Point2f
) As Point2f
Parameters
- vector
- Type: Rhino.GeometryVector2f
A vector. - point
- Type: Rhino.GeometryPoint2f
A point.
Return Value
Type:
Point2fA new point that results from the addition of point and vector.
See Also