clone

fun clone(ellipsoid: Ellipsoid, result: Ellipsoid? = definedExternally): Ellipsoid(source)

Duplicates an Ellipsoid instance.

Return

The cloned Ellipsoid. (Returns undefined if ellipsoid is undefined)

Parameters

ellipsoid

The ellipsoid to duplicate.

result

The object onto which to store the result, or undefined if a new instance should be created.

See also