mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-16 05:04:11 +08:00
0028316: Coding Rules - Elimilate confusing aliases of Standard_Real type in V3d_View
Quantity_Factor, Quantity_Parameter, Quantity_Ratio, Quantity_Coefficient, Quantity_PlaneAngle, Quantity_Length, V3d_Parameter and V3d_Coordinate have been replaced by Standard_Real in visualization classes.
This commit is contained in:
@@ -56,7 +56,7 @@ void GeomSources::PreProcess(CGeometryDoc* aDoc,DisplayType aDisplayType)
|
||||
}
|
||||
|
||||
void GeomSources::PostProcess (CGeometryDoc* aDoc, UINT anID, DisplayType aDisplayType,
|
||||
const TCollection_AsciiString& theString, Standard_Boolean UpdateViewer, Quantity_Coefficient Coef)
|
||||
const TCollection_AsciiString& theString, Standard_Boolean UpdateViewer, Standard_Real Coef)
|
||||
{
|
||||
Standard_CString aString = theString.ToCString();
|
||||
if (UpdateViewer)
|
||||
@@ -3808,7 +3808,7 @@ void GeomSources::gpTest47(CGeometryDoc* aDoc)
|
||||
GeomAPI_PointsToBSplineSurface(array3).Surface();
|
||||
|
||||
GeomAPI_ExtremaSurfaceSurface ESS(aSurf1,aSurf2);
|
||||
//Quantity_Length dist = ESS.LowerDistance();
|
||||
//Standard_Real dist = ESS.LowerDistance();
|
||||
gp_Pnt P1,P2;
|
||||
ESS.NearestPoints(P1,P2);
|
||||
|
||||
@@ -3833,7 +3833,7 @@ Handle(Geom_BSplineSurface) aSurf2 = \n\
|
||||
GeomAPI_PointsToBSplineSurface(array3).Surface(); \n\
|
||||
\n\
|
||||
GeomAPI_ExtremaSurfaceSurface ESS(aSurf1,aSurf2); \n\
|
||||
Quantity_Length dist = ESS.LowerDistance(); \n\
|
||||
Standard_Real dist = ESS.LowerDistance(); \n\
|
||||
gp_Pnt P1,P2; \n\
|
||||
ESS.NearestPoints(P1,P2); \n\
|
||||
\n");
|
||||
|
||||
Reference in New Issue
Block a user