About all my projects
NO_TITLE

NO_TITLE

Gnome::Graphene::T-box

Class initialization

new

Initialization of a type class is simple and only needed when the standalone functions are used.

method new ( )

Record N-Box

class N-Box:auth<github:MARTIMM>:api<2> is export is repr('CStruct') {

  has N-Object $.min;
  has N-Object $.max;
}
  • min;

  • max;

Standalone Functions

box-empty

A degenerate Gnome::Graphene::T-box that can only be expanded.

The returned value is owned by Graphene and should not be modified or freed.

method box-empty (--> N-Object )

Return value; a Gnome::Graphene::T-box.

box-infinite

A degenerate Gnome::Graphene::T-box that cannot be expanded.

The returned value is owned by Graphene and should not be modified or freed.

method box-infinite (--> N-Object )

Return value; a Gnome::Graphene::T-box.

box-minus-one

A Gnome::Graphene::T-box with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (0, 0, 0).

The returned value is owned by Graphene and should not be modified or freed.

method box-minus-one (--> N-Object )

Return value; a Gnome::Graphene::T-box.

box-one

A Gnome::Graphene::T-box with the minimum vertex set at (0, 0, 0) and the maximum vertex set at (1, 1, 1).

The returned value is owned by Graphene and should not be modified or freed.

method box-one (--> N-Object )

Return value; a Gnome::Graphene::T-box.

box-one-minus-one

A Gnome::Graphene::T-box with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (1, 1, 1).

The returned value is owned by Graphene and should not be modified or freed.

method box-one-minus-one (--> N-Object )

Return value; a Gnome::Graphene::T-box.

box-zero

A Gnome::Graphene::T-box with both the minimum and maximum vertices set at (0, 0, 0).

The returned value is owned by Graphene and should not be modified or freed.

method box-zero (--> N-Object )

Return value; a Gnome::Graphene::T-box.