GetCorrectionAppliedPosition
public Vertex3D GetCorrectionAppliedPosition(int id, int pointIndex)
보정을 반영한 기준점 좌표 반환.
Remarks
실제 좌표에 보정량을 더한 값. 반영을 켜지 않아도 계산되므로 적용 전 결과를 미리 확인할 수 있고,
보정 성분이 없으면 실제 좌표와 같은 값이 나옴.
표시 문자열을 해석할 필요가 없어 단위·소수 자릿수 설정에 영향받지 않음.
Parameters
| Name | Type | Description |
|---|---|---|
| id | int | 대상 리뷰 아이디(ID) |
| pointIndex | int | 보정을 적용할 기준점 번호. 거리 측정은 0 = 첫 번째 점, 1 = 두 번째 점 / 좌표 측정은 0 하나뿐 |
Returns
| Type | Description |
|---|---|
| Vertex3D | 보정이 반영된 좌표. 조회할 수 없으면 null |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example(int id)
{
VIZCore3D.NET.Data.Vertex3D basePos = vizcore3d.Review.GetCorrectionBasePosition(id, 0);
VIZCore3D.NET.Data.Vertex3D applied = vizcore3d.Review.GetCorrectionAppliedPosition(id, 0);
if (basePos == null || applied == null) return;
float dz = applied.Z - basePos.Z; // 보정량 확인
}