Method Translate
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Translate(GeoVector2)
Gets the spline moved by a vector.
public GeoSpline2 Translate(GeoVector2 vector)
Parameters
vectorGeoVector2How far to move it.
Returns
- GeoSpline2
The moved spline: the control points moved, the weights and knots as they were.
Exceptions
- ArgumentException
Thrown when the vector is not finite: the control points would not be finite, which the constructor refuses.