mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-21 10:13:43 +03:00
0023013: Fails to build with gcc 4.6.3
Changes: Removed unnecessary cast in BRepClass3d_SClassifier::PerformInfinitePoint function
This commit is contained in:
parent
96352003af
commit
e450f81883
@ -82,7 +82,7 @@ void BRepClass3d_SClassifier::PerformInfinitePoint(BRepClass3d_SolidExplorer& aS
|
|||||||
Standard_Real aParam, aU1, aV1, aU2, aV2;
|
Standard_Real aParam, aU1, aV1, aU2, aV2;
|
||||||
gp_Pnt A,B;
|
gp_Pnt A,B;
|
||||||
gp_Dir aDN1, aDN2;
|
gp_Dir aDN1, aDN2;
|
||||||
TopoDS_Face aF, aF1, aF2;
|
TopoDS_Face aF1, aF2;
|
||||||
//
|
//
|
||||||
nump = 0;
|
nump = 0;
|
||||||
aParam = 0.5;
|
aParam = 0.5;
|
||||||
@ -90,7 +90,7 @@ void BRepClass3d_SClassifier::PerformInfinitePoint(BRepClass3d_SolidExplorer& aS
|
|||||||
myState=2;
|
myState=2;
|
||||||
for(aSE.InitShell(); aSE.MoreShell() && nump<2; aSE.NextShell()) {
|
for(aSE.InitShell(); aSE.MoreShell() && nump<2; aSE.NextShell()) {
|
||||||
for(aSE.InitFace(); aSE.MoreFace() && nump<2; ) {
|
for(aSE.InitFace(); aSE.MoreFace() && nump<2; ) {
|
||||||
aF =*((TopoDS_Face*)&aSE.CurrentFace());
|
TopoDS_Face aF = aSE.CurrentFace();
|
||||||
aSE.NextFace();
|
aSE.NextFace();
|
||||||
if(!nump) {
|
if(!nump) {
|
||||||
nump++;
|
nump++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user