Changeset 864 for trunk/src/proj_field.m
- Timestamp:
- Feb 6, 2015, 7:55:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/proj_field.m
r863 r864 961 961 if isfield(FieldData,'PlaneCoord')&&length(FieldData.PlaneCoord)==3&& isfield(ProjData,'ProjObjectCoord') 962 962 if length(ProjData.ProjObjectCoord)==3% if the projection plane has a z coordinate 963 if ~isequal(ProjData.PlaneCoord(3),ProjData.ProjObjectCoord) %check the consistency with the z coordinate of the field plane (set by calibration)963 if isfield(ProjData,'.PlaneCoord') && ~isequal(ProjData.PlaneCoord(3),ProjData.ProjObjectCoord) %check the consistency with the z coordinate of the field plane (set by calibration) 964 964 errormsg='inconsistent z position for field and projection plane'; 965 965 return
Note: See TracChangeset
for help on using the changeset viewer.