Skip to content

KBE3D / KBCore / Cesium / createAABBForNode

函数: createAABBForNode()

createAABBForNode(x: number, y: number, level: number): AxisAlignedBoundingBox

Creates an axis-aligned bounding box for a quadtree node at the given tree-space coordinates and level. This AABB is in the tree's local space (where the root node of the tree is a unit cube in its own local space).

参数

x

number

The x coordinate of the node.

y

number

The y coordinate of the node.

level

number

The level of the node.

返回

AxisAlignedBoundingBox

The axis-aligned bounding box for the node.

KBE3D @3.0.0 Copyright © 2024-present KBE3D