klyn.math.geometry.Dimension.perimeter
method
public perimeter() as NUMBER
Description

Calculates the perimeter of the dimension.

Returns

The perimeter of the dimension.

Example

assert Dimension<Byte>(Byte(3), Byte(4)).perimeter() == Byte(14)