Table of Contents

Class GridContactQueryScratch

Namespace
GridForge.Grids.Topology
Assembly
GridForge.dll

Owns reusable temporary storage for allocation-free warmed exact-contact queries.

public sealed class GridContactQueryScratch
Inheritance
GridContactQueryScratch
Inherited Members

Remarks

Instances are caller-owned, retain capacity between calls, and are not thread-safe.

Constructors

GridContactQueryScratch(int, int)

Initializes scratch storage with optional expected source and per-source candidate counts.

public GridContactQueryScratch(int sourceCapacity = 0, int candidateCapacity = 0)

Parameters

sourceCapacity int
candidateCapacity int

Methods

Clear()

Clears retained references without releasing reusable capacity.

public void Clear()