EllipseGeometry_514148 1.0.2

dotnet add package EllipseGeometry_514148 --version 1.0.2
                    
NuGet\Install-Package EllipseGeometry_514148 -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EllipseGeometry_514148" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EllipseGeometry_514148" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="EllipseGeometry_514148" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EllipseGeometry_514148 --version 1.0.2
                    
#r "nuget: EllipseGeometry_514148, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EllipseGeometry_514148@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EllipseGeometry_514148&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=EllipseGeometry_514148&version=1.0.2
                    
Install as a Cake Tool

EllipseGeometry_514148

This package provides a set of methods and properties to work with ellipses. It allows you to compute the area and perimeter of an ellipse, along with a few other useful functions.

Features

  • Compute the area of an ellipse using its major and minor axes.
  • Compute the perimeter of an ellipse using the Simple Ramanujan approximation.
  • Compute the area and perimeter of a circle using the radius.
  • Get the number of sides of an ellipse (always 1).
  • Accessor and mutator methods for the major and minor axes.

Installation

You can include this package in your C# project by adding it via NuGet (assuming it's published on NuGet).

dotnet add package EllipseGeometry_514148

Usage

using EllipseGeometry_514148;

You can use the Ellipse class to create an ellipse object and compute its area and perimeter.

Ellipse ellipse = new Ellipse(5, 3);

Console.WriteLine(ellipse.Area); // 47.1238898038469

Console.WriteLine(ellipse.Perimeter); // 22.453589793319
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.2 123 10/24/2024
1.0.1 105 10/24/2024
1.0.0 122 10/24/2024 1.0.0 is deprecated because it has critical bugs.

v1.0.1: Added function documentation
v1.0.2: Added section of docs