mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 17:30: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);
|
std::string Angle_str = doubleToString(theAngle);
|
||||||
|
|
||||||
// Construction of the plane
|
// Construction of the plane
|
||||||
gce_MakePln gce_MP2(P0, P1, P2);
|
//gce_MakePln gce_MP2(P0, P1, P2);
|
||||||
Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP2.Value());
|
//Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP2.Value());
|
||||||
|
|
||||||
TopoDS_Vertex V0 = BRepBuilderAPI_MakeVertex(P0);
|
TopoDS_Vertex V0 = BRepBuilderAPI_MakeVertex(P0);
|
||||||
TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(P1);
|
TopoDS_Vertex V1 = BRepBuilderAPI_MakeVertex(P1);
|
||||||
@ -1725,7 +1725,7 @@ Handle(AIS_AngleDimension) EntityGUI_3DSketcherDlg::createAISAngleDimension(doub
|
|||||||
|
|
||||||
// todo : port
|
// 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 );
|
anIO->SetCustomValue( theAngle );
|
||||||
|
|
||||||
|
@ -347,7 +347,7 @@ SALOME_Prs* MeasureGUI_AngleDlg::buildPrs()
|
|||||||
gce_MakePln gce_MP(aP11, aP12, aP3);
|
gce_MakePln gce_MP(aP11, aP12, aP3);
|
||||||
Handle(Geom_Plane) aPlane = new Geom_Plane(gce_MP.Value());
|
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;
|
Handle(Prs3d_DimensionAspect) aDimensionStyle = new Prs3d_DimensionAspect;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user