Skip to content

@jdultra/ultra-globe


@jdultra/ultra-globe / GeoUtils / llhToCartesianFastSFCT

Function: llhToCartesianFastSFCT()

llhToCartesianFastSFCT(llh, radians?): void

Defined in: utils/GeoUtils.d.ts:7

Transforms a lon lat height point (EPSG:4326) to cartesian coordinates (EPSG:4978). The transform is slightly inaccurate compared to proj4 but it's 3 times faster and accurate enough for most needs

Parameters

llh

Vector3

radians?

boolean

set to true if the input longitude and latitude are in radians. height is always expected in meters.

Returns

void