mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 09:46:43 +08:00
0025166: STEP Reader - allow GEOMETRIC_SET entity to accept non-geometric children
Allow GEOMETRIC_SET entity to accept GeometricRepresentationItem children Modification to avoid cyclic dependency between STEPControl and StepToTopoDS packages Test cases for issue CR25166
This commit is contained in:
@@ -22,6 +22,7 @@ Standard_Integer StepShape_GeometricSetSelect::CaseNum(const Handle(Standard_Tra
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_Point))) return 1;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_Curve))) return 2;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_Surface))) return 3;
|
||||
if (ent->IsKind(STANDARD_TYPE(StepGeom_GeometricRepresentationItem))) return 4;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user