concepts.utils.typing_utils#

Utilities for typing.

Table of Custom Types

Type

Description

Tuple2f

A tuple of two floats.

Tuple2i

A tuple of two integers.

Tuple3f

A tuple of three floats.

Tuple3i

A tuple of three integers.

Tuple4f

A tuple of four floats.

Tuple4i

A tuple of four integers.

Tuple5f

A tuple of five floats.

Tuple5i

A tuple of five integers.

Tuple6f

A tuple of six floats.

Tuple6i

A tuple of six integers.

Tuple7f

A tuple of seven floats.

Tuple7i

A tuple of seven integers.

Vec2f

A 2D vector of float.

Vec2i

A 2D vector of int.

Vec2

A 2D vector of float or int.

BoardcastableVec2f

A 2D vector of float or a float.

Vec3f

A 3D vector of float.

Vec3i

A 3D vector of int.

Vec3

A 3D vector of float or int.

BoardcastableVec3f

A 3D vector of float or a float.

Vec4f

A 4D vector of float.

Vec4i

A 4D vector of int.

Vec4

A 4D vector of float or int.

Vec5f

A 5D vector of float.

Vec5i

A 5D vector of int.

Vec5

A 5D vector of float or int.

Vec6f

A 6D vector of float.

Vec6i

A 6D vector of int.

Vec6

A 6D vector of float or int.

Vec7f

A 7D vector of float.

Vec7i

A 7D vector of int.

Vec7

A 7D vector of float or int.

VecNf

A vector of float.

VecNi

A vector of int.

MatNf

A matrix of float.

MatNi

A matrix of int.

Color

A color, can be a 3D or 4D vector of float or int.

Pos2D

A 2D position, can be a 2D vector of float or int.

Pos3D

A 3D position, can be a 3D vector of float or int.

Pos6D

A 6D position (usually xyz + rpy), can be a 6D vector of float or int.

Pos7D

A 7D position (usually xyz + quat), can be a 7D vector of float or int.