Contour.Core 1.0.5

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

Contour.Core

A .NET library for generating contour lines and polygons from scattered geospatial data using triangulation-based interpolation. Designed for creating noise contour maps around airports.

Features

  • Generate contour lines and polygons from triangulated point data with scalar values
  • Lambert Conformal Conic map projection (compatible with AEDT/Esri)
  • Triangle edge intersection detection and linear interpolation
  • Built on NetTopologySuite for geometry operations

Getting Started

Prerequisites

  • .NET 8.0 or later

Installation

Add a reference to the Contour.Core project or package.

Usage

The library exposes the IContourGenerator interface with two main operations:

// Set up triangulated input data
generator.SetTriangles(triangles);

// Generate contour lines for specified intervals
var lines = generator.GenerateContourLines(intervals);

// Generate contour polygons
var polygons = generator.GenerateContourPolygons(intervals);

Project Structure

  • Contour.Core - Core library
  • Contour.Core.Test - Unit tests (MSTest)

License

MIT - Copyright 2026 Acrotron

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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Contour.Core:

Package Downloads
Contour.Core.ContourGenerator.MarchingSquares

Contour line and polygon generation from raster grids using the Marching Squares algorithm. Subdivides raster cells into sub-triangles via bilinear interpolation and traces contours through the resulting mesh. Built on NetTopologySuite.

Contour.Core.Spline.Grass

GRASS GIS v.surf.rst spline interpolation (Completely Regularized Spline with Tension). Reimplemented in C# from GRASS GIS source code.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.5 256 3/27/2026
1.0.4 405 3/26/2026
1.0.3 91 3/26/2026
1.0.2 137 3/26/2026
1.0.1 138 3/25/2026
1.0.0 99 3/25/2026