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