1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0032953: Coding - add missing references where applicable

This commit is contained in:
aml
2022-04-29 15:21:24 +03:00
committed by smoskvin
parent 267738fc40
commit 034d1403b1
39 changed files with 134 additions and 115 deletions

View File

@@ -114,9 +114,9 @@ Standard_Integer GeomTools_CurveSet::Index
//purpose :
//=======================================================================
static void Print(const gp_Pnt P,
Standard_OStream& OS,
const Standard_Boolean compact)
static void Print(const gp_Pnt& P,
Standard_OStream& OS,
const Standard_Boolean compact)
{
OS << P.X();
if (!compact) OS << ",";
@@ -133,9 +133,9 @@ static void Print(const gp_Pnt P,
//purpose :
//=======================================================================
static void Print(const gp_Dir D,
Standard_OStream& OS,
const Standard_Boolean compact)
static void Print(const gp_Dir& D,
Standard_OStream& OS,
const Standard_Boolean compact)
{
OS << D.X();
if (!compact) OS << ",";

View File

@@ -118,9 +118,9 @@ Standard_Integer GeomTools_SurfaceSet::Index
//purpose :
//=======================================================================
static void Print(const gp_Pnt P,
Standard_OStream& OS,
const Standard_Boolean compact)
static void Print(const gp_Pnt& P,
Standard_OStream& OS,
const Standard_Boolean compact)
{
OS << P.X();
if (!compact) OS << ",";
@@ -137,9 +137,9 @@ static void Print(const gp_Pnt P,
//purpose :
//=======================================================================
static void Print(const gp_Dir D,
Standard_OStream& OS,
const Standard_Boolean compact)
static void Print(const gp_Dir& D,
Standard_OStream& OS,
const Standard_Boolean compact)
{
OS << D.X();
if (!compact) OS << ",";