iapb = Standard_False;
if (v[3] < -max) iapb = Standard_True;
else if (v[3] < 0) {
- anent = GetCasted(IGESData_IGESEntity,IR->BoundEntity((-1-v[3])/2));
+ anent = GetCasted(IGESData_IGESEntity,IR->BoundEntity((1-v[3])/2));
if (!anent->IsKind(STANDARD_TYPE(IGESData_LineFontEntity))) iapb = Standard_True;
}
// Sending of message : Line Font Pattern field is incorrect.
iapb = Standard_False;
if (v[4] < -max) iapb = Standard_True;
else if (v[4] < 0) {
- anent = GetCasted(IGESData_IGESEntity,IR->BoundEntity((-1-v[4])/2));
+ anent = GetCasted(IGESData_IGESEntity,IR->BoundEntity((1-v[4])/2));
if (!anent->IsKind(STANDARD_TYPE(IGESData_LevelListEntity))) iapb = Standard_True;
}
iapb = Standard_False;
if (v[7] < 0 || v[7] > max) iapb = Standard_True;
- else if (v[7] < 0) {
+ else if (v[7] > 0) {
anent = GetCasted(IGESData_IGESEntity,IR->BoundEntity((1+v[7])/2));
if (!anent->IsKind(STANDARD_TYPE(IGESData_LabelDisplayEntity))) iapb = Standard_True;
}
}
iapb = Standard_False;
- if (v[14] < 0 || v[14] > max) iapb = Standard_True;
+ if (v[14] < -max || v[14] > max) iapb = Standard_True;
else if (v[14] < 0) {
- anent = GetCasted(IGESData_IGESEntity,IR->BoundEntity((1+v[14])/2));
+ anent = GetCasted(IGESData_IGESEntity,IR->BoundEntity((1-v[14])/2));
if (!anent->IsKind(STANDARD_TYPE(IGESData_ColorEntity)))
{ thedstat += 512; v[14] = 0; }
}
set filename 919-004-T03-04-CP-VL.igs
set ref_data {
-DATA : Faulties = 0 ( 2 ) Warnings = 0 ( 0 ) Summary = 0 ( 2 )
+DATA : Faulties = 0 ( 1 ) Warnings = 0 ( 0 ) Summary = 0 ( 1 )
TPSTAT : Faulties = 0 ( 2 ) Warnings = 310 ( 2179 ) Summary = 310 ( 2181 )
CHECKSHAPE : Wires = 0 ( 3 ) Faces = 0 ( 3 ) Shells = 0 ( 0 ) Solids = 0 ( 0 )
NBSHAPES : Solid = 0 ( 0 ) Shell = 0 ( 0 ) Face = 1457 ( 1455 )