mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
RNV: Fix compilation problem with new OCCT.
This commit is contained in:
parent
c83f022c63
commit
d7caf30133
@ -1701,8 +1701,8 @@ Handle(AIS_AngleDimension) EntityGUI_3DSketcherDlg::createAISAngleDimension(doub
|
||||
std::string Angle_str = doubleToString(theAngle);
|
||||
|
||||
// Construction of the plane
|
||||
gce_MakePln gce_MP2(P0, P1, P2);
|
||||
Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP2.Value());
|
||||
//gce_MakePln gce_MP2(P0, P1, P2);
|
||||
//Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP2.Value());
|
||||
|
||||
TopoDS_Vertex V0 = BRepBuilderAPI_MakeVertex(P0);
|
||||
TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(P1);
|
||||
@ -1725,7 +1725,7 @@ Handle(AIS_AngleDimension) EntityGUI_3DSketcherDlg::createAISAngleDimension(doub
|
||||
|
||||
// todo : port
|
||||
|
||||
Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2, aPlane->Pln() );
|
||||
Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2 );
|
||||
|
||||
anIO->SetCustomValue( theAngle );
|
||||
|
||||
|
@ -347,7 +347,7 @@ SALOME_Prs* MeasureGUI_AngleDlg::buildPrs()
|
||||
gce_MakePln gce_MP(aP11, aP12, aP3);
|
||||
Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP.Value());
|
||||
|
||||
Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2, aPlane->Pln() );
|
||||
Handle(AIS_AngleDimension) anIO = new AIS_AngleDimension( anEdge1, anEdge2 );
|
||||
|
||||
Handle(Prs3d_DimensionAspect) aDimensionStyle = new Prs3d_DimensionAspect;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user