Class BufferOptions
- Namespace
- SpatialNET
- Assembly
- SpatialNET.Extensions.dll
Options for SpatialNET.Buffering.Buffer(SpatialNET.IGeometry2D,System.Double,SpatialNET.BufferOptions,SpatialNET.IGeometryFactory,System.Nullable{System.Double}); defaults as in JTS (ADR 0006).
public sealed record BufferOptions : IEquatable<BufferOptions>Inheritance
Implements
Inherited Members
Properties
ArcTolerance
Largest chord deviation of the arcs in map units; if set, it takes precedence over SpatialNET.BufferOptions.QuadrantSegments.
public double? ArcTolerance { get; init; }Property Value
CapStyle
Line ends; default SpatialNET.CapStyle.Round.
public CapStyle CapStyle { get; init; }Property Value
Default
The default options.
public static BufferOptions Default { get; }Property Value
JoinStyle
Corners on the outside; default SpatialNET.JoinStyle.Round.
public JoinStyle JoinStyle { get; init; }Property Value
MitreLimit
Largest ratio of mitre distance to distance for SpatialNET.JoinStyle.Mitre; default 5.
public double MitreLimit { get; init; }Property Value
QuadrantSegments
Segments per quarter circle; default 8.
public int QuadrantSegments { get; init; }Property Value
SimplifyFactor
Factor of the input simplification (× |distance|); default 0.01, 0 = off.
public double SimplifyFactor { get; init; }Property Value
SingleSided
Buffer only one side of lines (positive left, negative right), flat ends.
public bool SingleSided { get; init; }