API Reference > imodeljs-frontend > Views > ViewState > calculateFrustum calculateFrustum Method Calculate the world coordinate Frustum from the parameters of this ViewState. calculateFrustum(result?: Frustum): Frustum | undefined Parameter Type Description result Frustum Optional Frustum to hold result. If undefined a new Frustum is created. Returns - Frustum | undefined The 8-point Frustum with the corners of this ViewState, or undefined if the parameters are invalid. Defined in core/frontend/src/ViewState.ts Line 561 Last Updated: 13 June, 2024