spatialFromCartographic Method
Convert Cartographic coordinates into points in this iModel's spatial coordinate system using a GeoConverter or the iModel's EcefLocation.
spatialFromCartographic(cartographic: Cartographic[]): Promise<Point3d[]>
@returns The cartographic
coordinates converted to spatial coordinates, of the same length and order as cartographic
.
@throws IModelError if IModelConnection.isGeoLocated is false or any point could not be converted.
@see IModelConnection.cartographicFromSpatial to perform the inverse conversion.
Parameter | Type | Description |
---|---|---|
cartographic | Cartographic[] | Coordinates to be converted to the iModel's spatial coordinate system. |
Returns - Promise<Point3d[]>
The cartographic
coordinates converted to spatial coordinates, of the same length and order as cartographic
.
Defined in
Last Updated: 25 April, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.