Represents a binary tree builder for 3D polygons in a circular 3D chart.
Builds a binary space partitioning from a list of polygons.
Returns CircularChart3DBspNode
Classifies a point relative to a polygon.
Parameter | Type | Description |
---|---|---|
point | CircularChart3DVector |
The point to classify. |
polygon | CircularChart3DPolygon |
The polygon for classification. |
Returns string
Classifies a polygon relative to another polygon.
Parameter | Type | Description |
---|---|---|
refPolygon | CircularChart3DPolygon |
The reference polygon. |
classPolygon | CircularChart3DPolygon |
The polygon to classify. |
Returns string
Gets the next index considering the array length and the current index.
Parameter | Type | Description |
---|---|---|
index | number |
The current index. |
count | number |
The length of the array. |
Returns number
Creates a PolyAttributes object based on the vector, index, and result.
Parameter | Type | Description |
---|---|---|
point | CircularChart3DVector |
The vector representing the point. |
index | number |
The index of the point. |
result | string |
The result classification. |
Returns CircularChart3DPolyAttributes