Click or drag to resize
XDL

XsmUpdateRPCModel(XRpc, Double, Double, Double, Double, Double, Double) Method

기존의 RPC와 보정계수를 이용하여 새로운 RPC모델을 생성한다.

Namespace: Pixoneer.NXDL.NSM
Assembly: NXDLsm (in NXDLsm.dll) Version: 2.0.3.38
Syntax
C#
public static bool UpdateRPCModel(
	ref XRpc rpc,
	double a0,
	double a1,
	double a2,
	double b0,
	double b1,
	double b2
)

Parameters

rpc  XRpc
[Out] 개선된 XRpc객체.
a0  Double
[In] RPC 보정계수 a0
a1  Double
[In] RPC 보정계수 a1
a2  Double
[In] RPC 보정계수 a2
b0  Double
[In] RPC 보정계수 b0
b1  Double
[In] RPC 보정계수 b1
b2  Double
[In] RPC 보정계수 b2

Return Value

Boolean
성공이면 true, 실패면 false를 리턴
Example
This is example #1:
C#
string strFilePathL = "D:\\Sample\\sample.rpc";
XRpc rpc = new XRpc();
String strError;
rpc.LoadFromRPC(strFilePathL, eSensorRPCType.Ikonos, out strError);

// Updates rpc using Correction coefficients
Xsm.UpdateRPCModel(ref rpc, 18.14746, 0.0001313268, 0.0001814451, -9.023821, 0.000002151604, -0.0004230786);
See Also