# applyingReprojection Source: https://www.nianticspatial.com/docs/api/swift/NSDK.CGRect.method-applyingReprojection/ applyingReprojection --- ## Declaration func applyingReprojection(containerSize: CGSize, transform: simd_float3x3) -> CGRect #### Summary Applies a 3x3 homography (reprojection) to this rectangle and returns the resulting bounding box in a specified container coordinate space. #### Returns A new CGRect representing the transformed rectangle. ### Parameters | Name | Type | Summary | | --- | --- | --- | | containerSize | CGSize | The size of the container coordinate space. Coordinates are assumed to be relative to this space (e.g., image or view size) when applying the homography. | | transform | simd_float3x3 | The 3x3 homography matrix that maps points from the source coordinate space to the target coordinate space. | ---