Click or drag to resize
XDL

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

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

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

Parameters

idx
Type: SystemInt32
상태 벡터 순서
time
Type: SystemDouble
[Out] 기준 시간에 대한 상태 벡터에 대응하는 상대 시간[초]
pos
Type: Pixoneer.NXDLXVertex3d
[Out] 상태 벡터 위치
vel
Type: Pixoneer.NXDLXVertex3d
[Out] 상태 벡터 속도
acc
Type: Pixoneer.NXDLXVertex3d
[Out] 상태 벡터 가속도

Return Value

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