worldToLocal Method

  • Convert a world point to point within the underlying mapped sphere space.
    • In the sphere space, an xyz (vector from origin) with magnitude equal to 1 is ON the sphere (hence its world image is ON the ellipsoid)
    • In the sphere space, an xyz (vector from origin) with magnitude less than 1 is INSIDE the sphere (hence its world image is INSIDE the ellipsoid)
    • In the sphere space, an xyz (vector from origin) with magnitude greater than 1 is OUTSIDE the sphere (hence its world image is OUTSIDE the ellipsoid)
  • This is undefined in the highly unusual case that the ellipsoid frame is singular.

worldToLocal(worldPoint: XYAndZ, result?: Point3d): Point3d | undefined

Parameter Type Description
worldPoint XYAndZ  
result Point3d  

Returns - Point3d | undefined

Defined in

Last Updated: 13 June, 2024