mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-05 18:16:23 +03:00
Warnings on vc14 were eliminated
This commit is contained in:
parent
d1d3e057ca
commit
4cf17e1c04
@ -4317,7 +4317,7 @@ Standard_Boolean STEPCAFControl_Reader::ReadViews(const Handle(XSControl_WorkSes
|
||||
}
|
||||
else if (anIter.Value()->IsKind(STANDARD_TYPE(StepVisual_AnnotationPlane))) {
|
||||
Handle(StepVisual_AnnotationPlane) aPlane = Handle(StepVisual_AnnotationPlane)::DownCast(anIter.Value());
|
||||
for (Standard_Integer i = 1; i <= aPlane->NbElements(); i++) {
|
||||
for (Standard_Integer j = 1; j <= aPlane->NbElements(); j++) {
|
||||
Interface_EntityIterator aDMIAIter = aGraph.Sharings(anIter.Value());
|
||||
for (; aDMIAIter.More(); aDMIAIter.Next()) {
|
||||
if (!aDMIAIter.Value()->IsKind(STANDARD_TYPE(StepAP242_DraughtingModelItemAssociation)))
|
||||
|
@ -253,9 +253,9 @@ Handle(XCAFView_Object) XCAFDoc_View::GetObject() const
|
||||
anObj->CreateGDTPoints(aPointsLabel.NbChildren());
|
||||
for (Standard_Integer i = 1; i <= aPointsLabel.NbChildren(); i++) {
|
||||
gp_Pnt aPoint;
|
||||
Handle(TDataXtd_Point) aPointAttr;
|
||||
aPointsLabel.FindChild(i).FindAttribute(TDataXtd_Point::GetID(), aPointAttr);
|
||||
TDataXtd_Geometry::Point(aPointAttr->Label(), aPoint);
|
||||
Handle(TDataXtd_Point) aGDTPointAttr;
|
||||
aPointsLabel.FindChild(i).FindAttribute(TDataXtd_Point::GetID(), aGDTPointAttr);
|
||||
TDataXtd_Geometry::Point(aGDTPointAttr->Label(), aPoint);
|
||||
anObj->SetGDTPoint(i, aPoint);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user