Circular3DTransform
12 Sep 20252 minutes to read
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 | Circular3DBasicTransform |
The 3D transformation. |
| matrixobj (optional) | Circular3DMatrix |
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 | Circular3DVector |
The 3D vector to transform. |
| transform | Circular3DBasicTransform |
The 3D transformation. |
| chartObj (optional) | Circular3DMatrix |
Optional custom matrix object for transformation. |
Returns Circular3DLocation
transform
Applies the specified 3D transformation to the current state.
| Parameter | Type | Description |
|---|---|---|
| transform | Circular3DBasicTransform |
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 Circular3DBasicTransform