Klasse Graphene


public class Graphene extends Package
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    static Box
    A degenerate #graphene_box_t that can only be expanded.
    static Box
    A degenerate #graphene_box_t that cannot be expanded.
    static Box
    A #graphene_box_t with the minimum vertex set at (-1, -1, -1) and the
    maximum vertex set at (0, 0, 0).
    static Box
    A #graphene_box_t with the minimum vertex set at (0, 0, 0) and the
    maximum vertex set at (1, 1, 1).
    static Box
    A #graphene_box_t with the minimum vertex set at (-1, -1, -1) and the
    maximum vertex set at (1, 1, 1).
    static Box
    A #graphene_box_t with both the minimum and maximum vertices set at (0, 0, 0).
     
    static Point3D
    Retrieves a constant point with all three coordinates set to 0.
    static Point
    Returns a point fixed at (0, 0).
    static Rect
    Allocates a new #graphene_rect_t.
    static Rect
    Returns a degenerate rectangle with origin fixed at (0, 0) and
    a size of 0, 0.
    static Size
    A constant pointer to a zero #graphene_size_t, useful for
    equality checks and interpolations.
    static Vec2
    Retrieves a constant vector with (1, 1) components.
    static Vec2
    Retrieves a constant vector with (1, 0) components.
    static Vec2
    Retrieves a constant vector with (0, 1) components.
    static Vec2
    Retrieves a constant vector with (0, 0) components.
    static Vec3
    Provides a constant pointer to a vector with three components,
    all sets to 1.
    static Vec3
    Provides a constant pointer to a vector with three components
    with values set to (1, 0, 0).
    static Vec3
    Provides a constant pointer to a vector with three components
    with values set to (0, 1, 0).
    static Vec3
    Provides a constant pointer to a vector with three components
    with values set to (0, 0, 1).
    static Vec3
    Provides a constant pointer to a vector with three components,
    all sets to 0.
    static Vec4
    Retrieves a pointer to a #graphene_vec4_t with all its
    components set to 1.
    static Vec4
    Retrieves a pointer to a #graphene_vec4_t with its
    components set to (0, 0, 0, 1).
    static Vec4
    Retrieves a pointer to a #graphene_vec4_t with its
    components set to (1, 0, 0, 0).
    static Vec4
    Retrieves a pointer to a #graphene_vec4_t with its
    components set to (0, 1, 0, 0).
    static Vec4
    Retrieves a pointer to a #graphene_vec4_t with its
    components set to (0, 0, 1, 0).
    static Vec4
    Retrieves a pointer to a #graphene_vec4_t with all its
    components set to 0.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • Graphene

      public Graphene()
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • boxEmpty

      public static Box boxEmpty()
      A degenerate #graphene_box_t that can only be expanded.

      The returned value is owned by Graphene and should not be modified or freed.
      Gibt zurück:
      a #graphene_box_t
    • boxInfinite

      public static Box boxInfinite()
      A degenerate #graphene_box_t that cannot be expanded.

      The returned value is owned by Graphene and should not be modified or freed.
      Gibt zurück:
      a #graphene_box_t
    • boxMinusOne

      public static Box boxMinusOne()
      A #graphene_box_t 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.
      Gibt zurück:
      a #graphene_box_t
    • boxOne

      public static Box boxOne()
      A #graphene_box_t 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.
      Gibt zurück:
      a #graphene_box_t
    • boxOneMinusOne

      public static Box boxOneMinusOne()
      A #graphene_box_t 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.
      Gibt zurück:
      a #graphene_box_t
    • boxZero

      public static Box boxZero()
      A #graphene_box_t 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.
      Gibt zurück:
      a #graphene_box_t
    • point3dZero

      public static Point3D point3dZero()
      Retrieves a constant point with all three coordinates set to 0.
      Gibt zurück:
      a zero point
    • pointZero

      public static Point pointZero()
      Returns a point fixed at (0, 0).
      Gibt zurück:
      a fixed point
    • rectAlloc

      public static Rect rectAlloc()
      Allocates a new #graphene_rect_t.

      The contents of the returned rectangle are undefined.
      Gibt zurück:
      the newly allocated rectangle
    • rectZero

      public static Rect rectZero()
      Returns a degenerate rectangle with origin fixed at (0, 0) and
      a size of 0, 0.
      Gibt zurück:
      a fixed rectangle
    • sizeZero

      public static Size sizeZero()
      A constant pointer to a zero #graphene_size_t, useful for
      equality checks and interpolations.
      Gibt zurück:
      a constant size
    • vec2One

      public static Vec2 vec2One()
      Retrieves a constant vector with (1, 1) components.
      Gibt zurück:
      the one vector
    • vec2XAxis

      public static Vec2 vec2XAxis()
      Retrieves a constant vector with (1, 0) components.
      Gibt zurück:
      the X axis vector
    • vec2YAxis

      public static Vec2 vec2YAxis()
      Retrieves a constant vector with (0, 1) components.
      Gibt zurück:
      the Y axis vector
    • vec2Zero

      public static Vec2 vec2Zero()
      Retrieves a constant vector with (0, 0) components.
      Gibt zurück:
      the zero vector
    • vec3One

      public static Vec3 vec3One()
      Provides a constant pointer to a vector with three components,
      all sets to 1.
      Gibt zurück:
      a constant vector
    • vec3XAxis

      public static Vec3 vec3XAxis()
      Provides a constant pointer to a vector with three components
      with values set to (1, 0, 0).
      Gibt zurück:
      a constant vector
    • vec3YAxis

      public static Vec3 vec3YAxis()
      Provides a constant pointer to a vector with three components
      with values set to (0, 1, 0).
      Gibt zurück:
      a constant vector
    • vec3ZAxis

      public static Vec3 vec3ZAxis()
      Provides a constant pointer to a vector with three components
      with values set to (0, 0, 1).
      Gibt zurück:
      a constant vector
    • vec3Zero

      public static Vec3 vec3Zero()
      Provides a constant pointer to a vector with three components,
      all sets to 0.
      Gibt zurück:
      a constant vector
    • vec4One

      public static Vec4 vec4One()
      Retrieves a pointer to a #graphene_vec4_t with all its
      components set to 1.
      Gibt zurück:
      a constant vector
    • vec4WAxis

      public static Vec4 vec4WAxis()
      Retrieves a pointer to a #graphene_vec4_t with its
      components set to (0, 0, 0, 1).
      Gibt zurück:
      a constant vector
    • vec4XAxis

      public static Vec4 vec4XAxis()
      Retrieves a pointer to a #graphene_vec4_t with its
      components set to (1, 0, 0, 0).
      Gibt zurück:
      a constant vector
    • vec4YAxis

      public static Vec4 vec4YAxis()
      Retrieves a pointer to a #graphene_vec4_t with its
      components set to (0, 1, 0, 0).
      Gibt zurück:
      a constant vector
    • vec4ZAxis

      public static Vec4 vec4ZAxis()
      Retrieves a pointer to a #graphene_vec4_t with its
      components set to (0, 0, 1, 0).
      Gibt zurück:
      a constant vector
    • vec4Zero

      public static Vec4 vec4Zero()
      Retrieves a pointer to a #graphene_vec4_t with all its
      components set to 0.
      Gibt zurück:
      a constant vector