Represents a 3D chart transformation utility that provides methods for transforming and projecting 3D coordinates onto a 2D screen.
Calculates the final result matrix based on the current state.
Parameter | Type | Description |
---|---|---|
transform | Chart3DBasicTransform |
The 3D transformation. |
matrixobj (optional) | Matrix3D |
Optional custom matrix object for transformation. |
Returns number[][]
Transforms a 3D vector to screen coordinates based on the current state.
Parameter | Type | Description |
---|---|---|
vector3D | Chart3DVector |
The 3D vector to transform. |
transform | Chart3DBasicTransform |
The 3D transformation. |
chartObj (optional) | Matrix3D |
Optional custom matrix object for transformation. |
Returns Chart3DLocation
Applies the specified 3D transformation to the current state.
Parameter | Type | Description |
---|---|---|
transform | Chart3DBasicTransform |
The 3D transformation to apply. |
Returns void
Creates a 3D transformation based on the specified size.
Parameter | Type | Description |
---|---|---|
size | Size |
The size of the viewing area. |
Returns Chart3DBasicTransform