T-box

Gnome::Graphene::T-box

#------------------------------------------------------------------------------- #--[Class Initialization]------------------------------------------------------- #-------------------------------------------------------------------------------

Class initialization

new

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

method new ( )

#------------------------------------------------------------------------------- #--[Record Structure Documentation]--------------------------------------------- #-------------------------------------------------------------------------------

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]------------------------------------------------------- #-------------------------------------------------------------------------------

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.

Gnome::Graphene v0.1.11

Graphene is a library of data types commonly used to implement 2D-in-3D or full 3D canvases

Authors

  • Marcel Timmerman

License

Artistic-2.0

Dependencies

Gnome::GObject:api<2>Gnome::Glib:api<2>Gnome::N:api<2>

Test Dependencies

Provides

  • Gnome::Graphene::N-Box
  • Gnome::Graphene::N-Euler
  • Gnome::Graphene::N-Frustum
  • Gnome::Graphene::N-Matrix
  • Gnome::Graphene::N-Plane
  • Gnome::Graphene::N-Point
  • Gnome::Graphene::N-Point3D
  • Gnome::Graphene::N-Quad
  • Gnome::Graphene::N-Quaternion
  • Gnome::Graphene::N-Ray
  • Gnome::Graphene::N-Rect
  • Gnome::Graphene::N-Size
  • Gnome::Graphene::N-Sphere
  • Gnome::Graphene::N-Triangle
  • Gnome::Graphene::N-Vec2
  • Gnome::Graphene::N-Vec3
  • Gnome::Graphene::N-Vec4
  • Gnome::Graphene::T-box
  • Gnome::Graphene::T-config
  • Gnome::Graphene::T-euler
  • Gnome::Graphene::T-frustum
  • Gnome::Graphene::T-matrix
  • Gnome::Graphene::T-plane
  • Gnome::Graphene::T-point
  • Gnome::Graphene::T-point3d
  • Gnome::Graphene::T-quad
  • Gnome::Graphene::T-quaternion
  • Gnome::Graphene::T-ray
  • Gnome::Graphene::T-rect
  • Gnome::Graphene::T-size
  • Gnome::Graphene::T-sphere
  • Gnome::Graphene::T-triangle
  • Gnome::Graphene::T-vec

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.