Class AlternativeLabelOptions
- Namespace
- SpatialNET
- Assembly
- SpatialNET.Extensions.dll
Options for SpatialNET.Shapes.FastAlternativePolygonLabelsLazy(SpatialNET.IPolygon2D,SpatialNET.Coordinate,SpatialNET.AlternativeLabelOptions). One instance can be kept and reused for every call.
public sealed record AlternativeLabelOptions : IEquatable<AlternativeLabelOptions>Inheritance
Implements
Inherited Members
Properties
CancellationToken
Stops the sequence (it ends without an exception) when cancelled.
public CancellationToken CancellationToken { get; init; }Property Value
MaxCount
The most points yielded. Default 16.
public int MaxCount { get; init; }Property Value
MaxScanlines
The work budget: the most horizontal scanlines computed, each costs one pass over all vertices. Default 32.
public int MaxScanlines { get; init; }Property Value
MinClearance
The least distance of every point to the boundary of the polygon (holes included); 0 = any interior point.
public double MinClearance { get; init; }Property Value
Separation
The least distance of every point to the seed and to every point yielded before; 0 = only distinct points.
public double Separation { get; init; }