Digi21.Utilities

This NuGet package provides tools and utilities for developing applications with the Digi3D.AI engine.

Package manager

Install-Package Digi21.Utilities -Version 26.0.0

.NET CLI

dotnet add package Digi21.Utilities --version 26.0.0

Package reference

<PackageReference Include="Digi21.Utilities" Version="26.0.0" />

You can clone and modify this package in the Digi21.Utilities GitHub repository.

Unlike the other Digi21 packages, Digi21.Utilities contains the code rather than a reference assembly: Digi21.Utilities.dll is copied to your project's output folder. The package depends on Digi21.DigiNG.Plugin.

All types are in the Digi21.Utilities namespace. Almost all are static classes with extension methods: add using Digi21.Utilities; to use them.

Types

Type Description
IListExtension AddRange extension method for any IList<T>.
IReadOnlyDrawingFileExtension Contains extension method, indicating whether an entity belongs to a drawing file.
MemoryDrawingFile Drawing file that stores another drawing file's entities in memory so it can be iterated more than once.
UtilidadesDigiNG Methods for entities in Digi3D.AI's drawing window. Only work inside an extension.
UtilidadesEntity Entity extension methods: codes, visibility and conversion to lines.
UtilidadesReadOnlyLine ReadOnlyLine extension methods: distances and continuity between lines.
UtilidadesSecuenciaEntity IEnumerable<Entity> extension methods: filters by type, code, window, deletion and visibility.
UtilidadesSecuenciaIntersecciones Extension method filtering intersections returned by IntersectionDetector.
UtilidadesSecuenciaPoint2D ContieneElPunto extension method for IEnumerable<Point2D>.
UtilidadesSecuenciaReadOnlyFile Extension methods concatenating entities from several drawing files.
UtilidadesSecuenciaVertexPointer Extension method for nodes returned by NodeDetector.