Table of Contents

Method Clone

Namespace
GeometryHelper.Geometry
Assembly
GeometryHelper.dll

Clone()

Creates a copy of this line segment.

public GeoLine2 Clone()

Returns

GeoLine2

A new line segment with the same endpoints.

Remarks

Line segment 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.