Skip to main content

@mapgear/geoapps-core > MathHelper > diameter

MathHelper.diameter() method

Compute diameter based on radius

Signature:
static diameter(radius: number): number;

Parameters

ParameterTypeDescription
radiusnumberRadius of the circle
Returns:

number

Diameter of the circle