spatialToEcef Method

Convert a point in this iModel's Spatial coordinates to an ECEF point using its IModel.ecefLocation.

spatialToEcef(spatial: XYAndZ, result?: Point3d): Point3d

throws IModelError if IModel.isGeoLocated is false.

Parameter Type Description
spatial XYAndZ A point in the iModel's spatial coordinates
result Point3d If defined, use this for output

Returns - A Point3d in ECEF coordinates

Defined in

Last Updated: 03 June, 2019