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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user