/ Circular3d / Circular3DGraphics
Search results

Circular3DGraphics API in JavaScript Circular3d API control

Represents a 3D graphics rendering utility for drawing and managing 3D elements in a chart.

Methods

draw3DElement

Draws a 3D element based on the specified Binary Space Partitioning Node.

Parameter Type Description
bspElement Circular3DBspNode The Binary Space Partitioning Node representing the 3D element.
chart Circular3D The instance of the circular 3D chart.

Returns void

drawNode3D

Draws the 3D nodes starting from the root based on the eye vector.

Parameter Type Description
bspElement Circular3DBspNode The root Binary Space Partitioning Node.
eyeVector Circular3DVector The eye vector.
panel Element The panel element to render the view on.
chart Circular3D The instance of the circular 3D chart.

Returns void

prepareView

Prepares the view for rendering based on specified parameters.

Parameter Type Description
perspectiveAngle number The perspective angle.
depth number The depth of the view.
rotation number The rotation angle.
tilt number The tilt angle.
size Size The size of the viewing area.
chart Circular3D The instance of the circular 3D chart.

Returns void

view

Renders the 3D view on the specified panel element.

Parameter Type Description
panel (optional) Element The panel element to render the view on.
chart (optional) Circular3D The instance of the circular 3D chart.
rotation (optional) number The rotation angle.
tilt (optional) number The tilt angle.
size (optional) Size The size of the viewing area.
perspectiveAngle (optional) number The perspective angle.
depth (optional) number The depth of the view.

Returns void