DPB1Class · Utilities and settings

MathHepler

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

Namespace: DreamPoeBot.Framework.Helpers

public static class MathHepler
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

6 declared here

GetPolarCoordinates

MethodLink ↗
public static double MathHepler.GetPolarCoordinates(Vector2 vector, out double phi)

Calls GetPolarCoordinates on MathHepler with vector, phi and returns double. Open the return contract below before using the result.

Return type: doubleNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

Specifies vector.

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

Receives phi.

Returns: The double result.

GetRandomWord

MethodLink ↗
public static string MathHepler.GetRandomWord(int length)

Calls GetRandomWord on MathHepler with length and returns string. Open the return contract below before using the result.

Return type: stringNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

Specifies length.

Returns: The string result.

Max

MethodLink ↗
public static float MathHepler.Max(params float[] values)

Calls Max on MathHepler with values and returns float. Open the return contract below before using the result.

Return type: floatNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

values
Parameter type: float[]No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Specifies values.

Returns: The float result.

Translate

MethodLink ↗
public static Vector2 MathHepler.Translate(Vector2 vector, float dx, float dy)

Calls Translate on MathHepler with vector, dx, dy and returns Vector2. Open the return contract below before using the result.

Return type: Vector2No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

Specifies vector.

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

Specifies dx.

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

Specifies dy.

Returns: The Vector2 result.

Translate

MethodLink ↗
public static Vector3 MathHepler.Translate(Vector3 vector, float dx, float dy, float dz)

Calls Translate on MathHepler with vector, dx, dy, dz and returns Vector3. Open the return contract below before using the result.

Return type: Vector3No current DPB page is linked for this built-in, external, generic or compatibility-only type.

Parameters

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

Specifies vector.

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

Specifies dx.

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

Specifies dy.

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

Specifies dz.

Returns: The Vector3 result.

Randomizer

PropertyLink ↗
public static Random MathHepler.Randomizer { get; }

Reads randomizer on MathHepler as Random. The exact type and accessors are shown below.

Value type: RandomNo current DPB page is linked for this built-in, external, generic or compatibility-only type.

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.