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:
@@ -56,7 +56,7 @@ class ShapeAnalysis_BoxBndTreeSelector
|
||||
myStatus=ShapeExtend::EncodeStatus (ShapeExtend_OK);
|
||||
}
|
||||
|
||||
void DefinePnt (gp_Pnt theFPnt, gp_Pnt theLPnt)
|
||||
void DefinePnt (const gp_Pnt& theFPnt, const gp_Pnt& theLPnt)
|
||||
{ myFPnt = theFPnt;
|
||||
myLPnt = theLPnt;
|
||||
myStatus =ShapeExtend::EncodeStatus (ShapeExtend_OK);
|
||||
|
@@ -795,7 +795,7 @@ Standard_Integer ShapeAnalysis_Curve::SelectForwardSeam(const Handle(Geom2d_Curv
|
||||
// IsPlanar
|
||||
//=============================================================================
|
||||
|
||||
static gp_XYZ GetAnyNormal ( gp_XYZ orig )
|
||||
static gp_XYZ GetAnyNormal (const gp_XYZ& orig)
|
||||
{
|
||||
gp_XYZ Norm;
|
||||
if ( Abs ( orig.Z() ) < Precision::Confusion() )
|
||||
|
@@ -1572,12 +1572,12 @@ Standard_Boolean ShapeAnalysis_Wire::CheckLacking (const Standard_Integer num,
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
static Standard_Real ProjectInside(const Adaptor3d_CurveOnSurface AD,
|
||||
const gp_Pnt pnt,
|
||||
const Standard_Real preci,
|
||||
gp_Pnt& proj,
|
||||
Standard_Real& param,
|
||||
const Standard_Boolean adjustToEnds = Standard_True)
|
||||
static Standard_Real ProjectInside(const Adaptor3d_CurveOnSurface& AD,
|
||||
const gp_Pnt& pnt,
|
||||
const Standard_Real preci,
|
||||
gp_Pnt& proj,
|
||||
Standard_Real& param,
|
||||
const Standard_Boolean adjustToEnds = Standard_True)
|
||||
{
|
||||
ShapeAnalysis_Curve sac;
|
||||
Standard_Real dist = sac.Project(AD,pnt,preci,proj,param,adjustToEnds);
|
||||
|
Reference in New Issue
Block a user