Method Translate
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Translate(GeoVector2)
Translates the polyline by a displacement vector.
public GeoPolyline2 Translate(GeoVector2 vector)
Parameters
vectorGeoVector2The displacement vector.
Returns
- GeoPolyline2
A new translated GeoPolyline2.
Remarks
The chain is moved leg for leg, however short a leg: at a millionth, the chain (0, 0), (10, 0), (10, 10) with its corner cut by 0.0003 moves turning at both ends of the cut, where it was put back together within the global tolerance of a thousandth and came back turning once.