Skip to content

Add FromDiameter to Area.extra #377

@gojanpaolo

Description

@gojanpaolo

Can we add something like:

public static Area FromDiameter(Length diameter)
{
	return Math.PI * diameter * diameter / 4;
}

I was hesitant to suggest this before but I saw similar functions for PowerRatio which uses some kind of computation to convert from one unit to another.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions