new CSG.Node(polygons)
class Node
Holds a node in a BSP tree. A BSP tree is built from a collection of polygons
by picking a polygon to split along. That polygon (and all other coplanar
polygons) are added directly to that node and the other polygons are added to
the front and/or back subtrees. This is not a leafy BSP tree since there is
no distinction between internal and leaf nodes.
Holds a node in a BSP tree. A BSP tree is built from a collection of polygons
by picking a polygon to split along. That polygon (and all other coplanar
polygons) are added directly to that node and the other polygons are added to
the front and/or back subtrees. This is not a leafy BSP tree since there is
no distinction between internal and leaf nodes.
Parameters:
Name | Type | Description |
---|---|---|
polygons |
Array.<Cesium.CSG.Polygon> |
Properties:
Name | Type | Description |
---|---|---|
polygons |
Array.<Cesium.CSG.Polygon> | |
plane |
Cesium.CSG.Plane | |
front |
Cesium.CSG.Plane | |
back |
Cesium.CSG.Plane |
- Source: