Contour.Core
1.0.5
dotnet add package Contour.Core --version 1.0.5
NuGet\Install-Package Contour.Core -Version 1.0.5
<PackageReference Include="Contour.Core" Version="1.0.5" />
<PackageVersion Include="Contour.Core" Version="1.0.5" />
<PackageReference Include="Contour.Core" />
paket add Contour.Core --version 1.0.5
#r "nuget: Contour.Core, 1.0.5"
#:package Contour.Core@1.0.5
#addin nuget:?package=Contour.Core&version=1.0.5
#tool nuget:?package=Contour.Core&version=1.0.5
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 | Versions 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. |
-
net8.0
- NetTopologySuite (>= 2.6.0)
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.