DPB2Class · Utilities and settings

Algorithms.MaximalRectangle

Provides maximal rectangle data and the operations listed below. Related types link to the values this API consumes or returns.

Namespace: DreamPoeBot.Loki.Common

public class Algorithms.MaximalRectangleView DPB1 version →

Members and overloads

2 results

MaximalRectangle

MethodLink ↗
public Algorithms.MaximalRectangle.MaximalRectangle(BitArray matrix, int width, int height)

Creates a new MaximalRectangle instance using the supplied arguments.

matrixBitArray
Specifies matrix.
widthint
Specifies width.
heightint
Specifies height.

FindMaximalRectanglesGreedy

MethodLink ↗
public IEnumerable<Tuple<Vector2i, Vector2i>> Algorithms.MaximalRectangle.FindMaximalRectanglesGreedy()

Finds maximal rectangles greedy.

Returns: The IEnumerable<Tuple<Vector2i, Vector2i>> result.

DPB2 0.4.5.88 · Reference reviewed 2026-10-02. Descriptions use source summaries where available, otherwise concise signature-based descriptions. Examples illustrate usage; they are not a live-game test.