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

@@ -124,7 +124,8 @@ void ProjLib_Plane::Init(const gp_Pln& Pl)
// of myPlane.
//=======================================================================
static gp_Pnt2d EvalPnt2d( const gp_Pnt P, const gp_Pln& Pl)
static gp_Pnt2d EvalPnt2d(const gp_Pnt& P,
const gp_Pln& Pl)
{
gp_Vec OP( Pl.Location(),P);
return gp_Pnt2d( OP.Dot(gp_Vec(Pl.Position().XDirection())),

View File

@@ -91,7 +91,8 @@ void ProjLib_Sphere::Init(const gp_Sphere& Sp)
// \ Z = sinV V = ASin( Z)
//=======================================================================
static gp_Pnt2d EvalPnt2d( const gp_Vec P, const gp_Sphere& Sp)
static gp_Pnt2d EvalPnt2d(const gp_Vec& P,
const gp_Sphere& Sp)
{
Standard_Real X = P.Dot(gp_Vec(Sp.Position().XDirection()));
Standard_Real Y = P.Dot(gp_Vec(Sp.Position().YDirection()));