Method Clone
- Namespace
- GeometryHelper.Geometry
- Assembly
- GeometryHelper.dll
Clone()
Creates a copy of this vector.
public GeoVector2 Clone()
Returns
- GeoVector2
A new vector with the same components.
Remarks
Vector is a readonly struct, so plain assignment already produces an independent copy and this method is not needed to avoid sharing. It exists so that every geometry type offers the same way to ask for a copy.