1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +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

@@ -60,7 +60,7 @@ public:
return myType;
}
void SetProjectionPoint(gp_Pnt thePoint)
void SetProjectionPoint(const gp_Pnt& thePoint)
{
myProjectionPoint = thePoint;
}
@@ -70,7 +70,7 @@ public:
return myProjectionPoint;
}
void SetViewDirection(gp_Dir theDirection)
void SetViewDirection(const gp_Dir& theDirection)
{
myViewDirection = theDirection;
}
@@ -80,7 +80,7 @@ public:
return myViewDirection;
}
void SetUpDirection(gp_Dir theDirection)
void SetUpDirection(const gp_Dir& theDirection)
{
myUpDirection = theDirection;
}
@@ -200,7 +200,7 @@ public:
return myGDTPoints->Length();
}
void SetGDTPoint(const Standard_Integer theIndex, const gp_Pnt thePoint)
void SetGDTPoint(const Standard_Integer theIndex, const gp_Pnt& thePoint)
{
if (myGDTPoints.IsNull())
return;