copy

fun copy(triangle: Triangle): Triangle

Copies the values of the given triangle to this instance.

Return

A reference to this triangle.

Parameters

triangle

The triangle to copy.