HCMUtils 0.0.5

dotnet add package HCMUtils --version 0.0.5
                    
NuGet\Install-Package HCMUtils -Version 0.0.5
                    
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="HCMUtils" Version="0.0.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HCMUtils" Version="0.0.5" />
                    
Directory.Packages.props
<PackageReference Include="HCMUtils" />
                    
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 HCMUtils --version 0.0.5
                    
#r "nuget: HCMUtils, 0.0.5"
                    
#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 HCMUtils@0.0.5
                    
#: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=HCMUtils&version=0.0.5
                    
Install as a Cake Addin
#tool nuget:?package=HCMUtils&version=0.0.5
                    
Install as a Cake Tool

@hcm-agreement/hcm-utils

A .NET library for dealing with HCM input and output data

Explore the docs - Report an issue

Workflow Status License NuGet Version

Getting Started

Examples

Build a legacy string

Build an input string for a point-to-line calculation for the legacy API:

var inputOutputString = HCMUtils.String.Helpers.BuildLegacyInputString(
    TxCoordinates,
    TxSiteHeight,
    TxAntennaType,
    TxAzimuth,
    TxElevation,
    TxAntennaHeight,
    TxGainType,
    TxPower,
    TxFrequency,
    ChannelOccupation,
    SeaTemperature,
    TxServiceAreaRadius,
    DistanceOverSea,
    TxEmissionDesignation,
    PermissibleFieldStrength,
    TargetCountry,
    TxCountry,
    MaxCrossBorderRange,
    "D:\\TOPO",
    "D:\\BORDER",
    "D:\\MORPHO"
);

Convert HCM input strings

var frequency = StringHelpers.ParseSINumber("3.8G"); // => 3_800_000_000
var gainType = StringHelpers.ParseGainType("E"); // => GainType.Dipole
// ...

Features

  • convert to and from (legacy) HCM input data
  • build input strings for the legacy HCM interface
  • platform-agnostic - use anywhere!

Contributing

Please refer to the contributing guide.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.

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
0.0.5 111 6/4/2026
0.0.4 115 6/2/2026