DPB1Class · 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.MaximalRectangle
Reference: DPB1 0.3.29.56Compare the DPB2 reference → Check signatures and usage notes separately; a matching type is not a compatibility guarantee.

Members and overloads

2 declared here

MaximalRectangle

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

Creates a new MaximalRectangle instance using the supplied arguments.

Parameters

matrix
Parameter type: BitArrayNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies matrix.

width
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies width.

height
Parameter type: intNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies height.

FindMaximalRectanglesGreedy

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

Finds maximal rectangles greedy.

Return type: IEnumerable<Tuple<Vector2i, Vector2i>>
Explore Vector2i → members & methods

A two-dimensional integer position. Used by grid-position and pathfinding APIs; screen-position APIs may expect a different coordinate type.

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

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