Gjsify LogoGjsify Logo

A 3D volume delimited by 2D clip planes.

The contents of the graphene_frustum_t are private, and should not be modified directly.

record

Hierarchy

  • Frustum

Index

Constructors

Properties

name: string

Methods

  • containsPoint(point: Point3D): boolean
  • Checks whether a point is inside the volume defined by the given #graphene_frustum_t.

    Parameters

    • point: Point3D

      a #graphene_point3d_t

    Returns boolean

  • Checks whether the two given #graphene_frustum_t are equal.

    Parameters

    Returns boolean

  • free(): void
  • Initializes the given #graphene_frustum_t using the provided clipping planes.

    Parameters

    • p0: Plane

      a clipping plane

    • p1: Plane

      a clipping plane

    • p2: Plane

      a clipping plane

    • p3: Plane

      a clipping plane

    • p4: Plane

      a clipping plane

    • p5: Plane

      a clipping plane

    Returns Frustum

  • Initializes the given #graphene_frustum_t using the clipping planes of another #graphene_frustum_t.

    Parameters

    • src: Frustum

      a #graphene_frustum_t

    Returns Frustum

  • Checks whether the given box intersects a plane of a #graphene_frustum_t.

    Parameters

    Returns boolean

  • intersectsSphere(sphere: Sphere): boolean
  • Checks whether the given sphere intersects a plane of a #graphene_frustum_t.

    Parameters

    • sphere: Sphere

      a #graphene_sphere_t

    Returns boolean

  • Allocates a new #graphene_frustum_t structure.

    The contents of the returned structure are undefined.

    Returns Frustum

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method