본문으로 건너뛰기

AddCorrectionTerm

public int AddCorrectionTerm(int id, int pointIndex, float value, Vector3D direction)

기준점 하나에 보정 성분 추가.

Remarks​

기존 성분을 유지한 채 하나를 덧붙임. 목록을 직접 만들지 않고 값·방향만 넘겨 호출할 수 있음.
성분마다 방향이 다른 경우에 사용하며, 방향이 같으면 SetCorrectionOffset 가 더 간단함.

Parameters​

NameTypeDescription
idint대상 리뷰 아이디(ID)
pointIndexint보정을 적용할 기준점 번호.
거리 측정은 0 = 첫 번째 점, 1 = 두 번째 점 / 좌표 측정은 0 하나뿐
valuefloat보정 크기
directionVector3D보정 방향. 크기는 무시되고 방향만 사용됨

Returns​

TypeDescription
int추가 후 해당 기준점의 성분 개수. 추가하지 못하면 0