Class

GKOctreeNode

A helper class for managing the objects you organize in an octree.

Declaration

class GKOctreeNode : NSObject

Overview

You don’t create instances of this class directly; instead, a GKOctree object provides you with a GKOctreeNode instance when you add an element to a tree. If you plan to remove elements from the tree, keep references to the corresponding nodes so you can use the remove(_:using:) method for better performance.

Topics

Examining a Node

var box: GKBox

The axis-aligned bounding box represented by the node.

Relationships

Inherits From

Conforms To

See Also

Spatial Partitioning

class GKQuadtree

A data structure for organizing objects based on their locations in a two-dimensional space.

class GKQuadtreeNode

A helper class for managing the objects you organize in a quadtree.

class GKOctree

A data structure for organizing objects based on their locations in a three-dimensional space.

class GKRTree

A data structure that adaptively organizes objects based on their locations in a two-dimensional space.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software