Skip to content

KBE3D / KBCore / Cesium / Transforms / localFrameToFixedFrameGenerator

函数: localFrameToFixedFrameGenerator()

localFrameToFixedFrameGenerator(firstAxis: string, secondAxis: string): LocalFrameToFixedFrame

Generates a function that computes a 4x4 transformation matrix from a reference frame centered at the provided origin to the provided ellipsoid's fixed reference frame.

参数

firstAxis

string

name of the first axis of the local reference frame. Must be 'east', 'north', 'up', 'west', 'south' or 'down'.

secondAxis

string

name of the second axis of the local reference frame. Must be 'east', 'north', 'up', 'west', 'south' or 'down'.

返回

LocalFrameToFixedFrame

The function that will computes a 4x4 transformation matrix from a reference frame, with first axis and second axis compliant with the parameters,

KBE3D @3.0.0 Copyright © 2024-present KBE3D