/ Circular3d / Circular3DBinaryTreeBuilder
Search results

Circular3DBinaryTreeBuilder API in JavaScript Circular3d API control

Represents a binary tree builder for 3D polygons in a circular 3D chart.

Methods

build

Builds a binary space partitioning from a list of polygons.

Returns Circular3DBspNode

classifyPoint

Classifies a point relative to a polygon.

Parameter Type Description
point Circular3DVector The point to classify.
polygon Circular3DPolygon The polygon for classification.

Returns string

classifyPolygon

Classifies a polygon relative to another polygon.

Parameter Type Description
refPolygon Circular3DPolygon The reference polygon.
classPolygon Circular3DPolygon The polygon to classify.

Returns string

getNext

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

vector3DIndexClassification

Creates a PolyAttributes object based on the vector, index, and result.

Parameter Type Description
point Circular3DVector The vector representing the point.
index number The index of the point.
result string The result classification.

Returns Circular3DPolyAttributes