computeProjectExtents Method

Compute an appropriate project extents for this iModel based on the ranges of all spatial elements. Typically, the result is simply the union of the ranges of all spatial elements. However, the algorithm also detects "outlier elements", whose placements locate them so far from the rest of the spatial geometry that they are considered statistically insignificant. The range of an outlier element does not contribute to the computed extents.

computeProjectExtents(options?: ComputeProjectExtentsOptions): ComputedProjectExtents

note This method does not modify the IModel's stored project extents. See: IModelDb.updateProjectExtents.

Parameter Type Description
options ComputeProjectExtentsOptions Specifies the level of detail desired in the return value.

Returns - ComputedProjectExtents

the computed extents.

Defined in

Last Updated: 20 June, 2023