Skip to main content

LCC for Web Manual · v0.6.3 · Page 18 of 68

LCCObject::getOriginPosition

Gets the origin position of the LCC model.

Returns WGS84 Cartesian coordinates, corresponding to setOriginPosition().

Version Requirement

SDK v0.3.1+

Engine Support

CesiumJS

API

LCCObject::getOriginPosition(): Cesium.Cartesian3

Parameters

None

Return Value

Cesium.Cartesian3 — WGS84 Cartesian coordinates of the model's origin.

Usage Example

const cartesian3 = lccObject.getOriginPosition();
console.log('offset coordinates: ', cartesian3);

Notes

  • This method must be called after the success callback of LCCRender.load() has been triggered.
  • LCCObject::setOriginPosition()

XGRIDS documentation, reproduced as published and captured on October 27, 2026. Read this page on docs.xgrids.com

Stuck on a Step?

QRC supports every scanner and software seat it sells. Send us the page you are on and we will walk you through it.

Contact Us
Request a Quote