mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +03: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:
@@ -38,7 +38,6 @@
|
||||
#include <Precision.hxx>
|
||||
#include <Prs3d.hxx>
|
||||
#include <Prs3d_Drawer.hxx>
|
||||
#include <Quantity_Length.hxx>
|
||||
#include <Standard_ErrorHandler.hxx>
|
||||
#include <TColgp_SequenceOfPnt2d.hxx>
|
||||
#include <TColStd_Array1OfReal.hxx>
|
||||
@@ -456,12 +455,12 @@ static void FindLimits (const Adaptor3d_Curve& theCurve,
|
||||
//! @param [in] theU2 maximal curve parameter value
|
||||
//! @param [out] thePoints the container for generated polyline
|
||||
//================================================================
|
||||
static void DrawCurve (Adaptor3d_Curve& theCurve,
|
||||
const Quantity_Length theDeflection,
|
||||
const Standard_Real theAngle,
|
||||
const Standard_Real theU1,
|
||||
const Standard_Real theU2,
|
||||
IVtk_Polyline& thePoints)
|
||||
static void DrawCurve (Adaptor3d_Curve& theCurve,
|
||||
const Standard_Real theDeflection,
|
||||
const Standard_Real theAngle,
|
||||
const Standard_Real theU1,
|
||||
const Standard_Real theU2,
|
||||
IVtk_Polyline& thePoints)
|
||||
{
|
||||
switch (theCurve.GetType())
|
||||
{
|
||||
|
Reference in New Issue
Block a user