Search results

CircularChart3DTransform API in React Circularchart3d API component

Represents a 3D chart transformation utility that provides methods for transforming and projecting 3D coordinates onto a 2D screen.

Methods

result

Calculates the final result matrix based on the current state.

Parameter Type Description
transform CircularChart3DBasicTransform The 3D transformation.
matrixobj (optional) CircularChart3DMatrix Optional custom matrix object for transformation.

Returns number[][]

toScreen

Transforms a 3D vector to screen coordinates based on the current state.

Parameter Type Description
vector3D CircularChart3DVector The 3D vector to transform.
transform CircularChart3DBasicTransform The 3D transformation.
chartObj (optional) CircularChart3DMatrix Optional custom matrix object for transformation.

Returns CircularChart3DLocation

transform

Applies the specified 3D transformation to the current state.

Parameter Type Description
transform CircularChart3DBasicTransform The 3D transformation to apply.

Returns void

transform3D

Creates a 3D transformation based on the specified size.

Parameter Type Description
size Size The size of the viewing area.

Returns CircularChart3DBasicTransform