Click or drag to resize
XDL

XOrbitInterpolatorGetStateVector(Int32, Double, XVertex3d, XVertex3d, XVertex3d) Method

특정 순서의 상태 벡터를 가져온다.

Namespace: Pixoneer.NXDL.NSM
Assembly: NXDLsm (in NXDLsm.dll) Version: 2.0.3.38
Syntax
C#
public bool GetStateVector(
	int idx,
	ref double time,
	ref XVertex3d pos,
	ref XVertex3d vel,
	ref XVertex3d acc
)

Parameters

idx  Int32
상태 벡터 순서
time  Double
[Out] 기준 시간에 대한 상태 벡터에 대응하는 상대 시간[초]
pos  XVertex3d
[Out] 상태 벡터 위치
vel  XVertex3d
[Out] 상태 벡터 속도
acc  XVertex3d
[Out] 상태 벡터 가속도

Return Value

Boolean
idx에 부합하는 상태 벡터가 있는 경우에는 true를, 그렇지 않으면 false를 반환한다.
See Also