Skip to content
TREN
Atlıhan Harita

LCC for Web User Manual · API Reference

LCCObject::getOriginPosition

Chapter 06.8 / 07Manual version v0.6.4English

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()

This chapter is from the official XGRIDS user manual. Official source (opens in a new tab) · Updated:

XGRIDS Türkiye

We're With You During Setup and in the Field

Atlıhan Harita provides training and technical support for device setup, firmware updates, software use, and field applications. Send us your question and our specialist will get back to you.

+90 216 546 0804