mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031939: Coding - correction of spelling errors in comments [part 10]
Fix various typos via codespell.
This commit is contained in:
@@ -117,7 +117,7 @@ static Standard_Integer OCC426 (Draw_Interpretor& di, Standard_Integer argc, con
|
||||
anUnify.Build();
|
||||
const TopoDS_Shape& aFuseUnif = anUnify.Shape();
|
||||
|
||||
//Give the mass claculation of the shpae "aFuseUnif"
|
||||
//Give the mass calculation of the shape "aFuseUnif"
|
||||
GProp_GProps G;
|
||||
BRepGProp::VolumeProperties(aFuseUnif, G);
|
||||
di<<" \n";
|
||||
@@ -744,7 +744,7 @@ static Standard_Integer OCC825 (Draw_Interpretor& di,Standard_Integer argc, cons
|
||||
|
||||
di << "*************************************************************\n";
|
||||
di << " CUT 1 and CUT 2 gives entirely different results during\n";
|
||||
di << " mass computation and face triangulation, eventhough the\n";
|
||||
di << " mass computation and face triangulation, even though the\n";
|
||||
di << " two spheres are located more or less at the same position.\n";
|
||||
di << "*************************************************************\n";
|
||||
|
||||
|
@@ -1109,7 +1109,7 @@ static Standard_Integer OCC22 (Draw_Interpretor& di, Standard_Integer argc, cons
|
||||
// 4.1. Retrieve Shape
|
||||
TopoDS_Shape anInitShape = DBRep::Get(argv[2]);
|
||||
if(anInitShape.IsNull()) { di << "OCC22 FAULTY. Initial shape is not exist. Please verify input values \n"; return 0;}
|
||||
// 4.2 Rebuid retrieved shape
|
||||
// 4.2 Rebuild retrieved shape
|
||||
TopoDS_Shape aResultShape = aReshape->Apply(anInitShape);
|
||||
// 4.3. Create result Draw shape
|
||||
DBRep::Set(argv[1], aResultShape);
|
||||
@@ -2096,7 +2096,7 @@ static Standard_Integer OCC5698 (Draw_Interpretor& di, Standard_Integer argc, co
|
||||
GCPnts_AbscissaPoint(check_curve, need_length, 0).Parameter();
|
||||
gp_Pnt check_pnt;
|
||||
check_curve.D0(check_par,check_pnt);
|
||||
// check that points are coinsiding
|
||||
// check that points are coinciding
|
||||
Standard_Real error_dist = pnt.Distance(check_pnt);
|
||||
if (error_dist > Precision::Confusion()) {
|
||||
//std::cout.precision(3);
|
||||
@@ -2614,7 +2614,7 @@ static Standard_Integer OCC7372 (Draw_Interpretor& di, Standard_Integer argc, co
|
||||
Standard_CString CString1 = "BSplineCurve";
|
||||
DrawTrSurf::Set(CString1,bspline1);
|
||||
|
||||
// 4. Convers BSpline curve to Bezier segments
|
||||
// 4. Converts BSpline curve to Bezier segments
|
||||
Geom2dConvert_BSplineCurveToBezierCurve bc(bspline1);
|
||||
|
||||
// 5. Test the result of conversion
|
||||
|
@@ -388,9 +388,9 @@ static Standard_Integer BUC60944 (Draw_Interpretor& di, Standard_Integer argc, c
|
||||
TCollection_AsciiString out;
|
||||
aPath->SystemName(out);
|
||||
if(in == out)
|
||||
di << "The convertion is right.\n";
|
||||
di << "The conversion is right.\n";
|
||||
else
|
||||
di << "Faulty : The convertion is incorrect : " << out.ToCString() << "\n";
|
||||
di << "Faulty : The conversion is incorrect : " << out.ToCString() << "\n";
|
||||
di << out.ToCString() << "\n";
|
||||
// std::cout << aPath->Trek() << " !" << std::endl;
|
||||
return 0;
|
||||
@@ -1030,7 +1030,7 @@ static Standard_Integer OCC16485 (Draw_Interpretor& di, Standard_Integer argc, c
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Create points with X co-ordinate from varying from 0. to 1000.
|
||||
// Create points with X coordinate from varying from 0. to 1000.
|
||||
// anc compute cumulative bounding box by adding boxes for all the
|
||||
// points, enlarged on tolerance
|
||||
|
||||
|
@@ -3696,7 +3696,7 @@ static Standard_Integer OCC25574 (Draw_Interpretor& theDI, Standard_Integer /*ar
|
||||
{
|
||||
// Iterate over rotations R(A)R(B)R(G) for each Euler angle Alpha, Beta, Gamma
|
||||
// There are three ordered axes corresponding to three rotations.
|
||||
// Each rotation applyed with current angle around current axis.
|
||||
// Each rotation applied with current angle around current axis.
|
||||
for (int j=0; j < 3; j++)
|
||||
{
|
||||
// note that current axis index is obtained by parsing of enumeration name!
|
||||
|
@@ -104,7 +104,7 @@ static Standard_Integer OCC527(Draw_Interpretor& di, Standard_Integer argc, cons
|
||||
Standard_Real toler = BRep_Tool::Tolerance(aV);
|
||||
double dist = pl.Distance(BRep_Tool::Pnt(aV));
|
||||
if (dist > lmaxdist) lmaxdist = dist;
|
||||
// If section was built check distance beetwen vertexes and plane of the one
|
||||
// If section was built check distance between vertexes and plane of the one
|
||||
str[0] = 0;
|
||||
if (dist > toler)
|
||||
Sprintf(str, "Dist=%f, Toler=%f, Param=%f FAULTY\n", dist, toler, gzmax);
|
||||
|
@@ -1654,7 +1654,7 @@ namespace Parab2d_Bug26747
|
||||
//Focal length
|
||||
Standard_Real FocalLength;
|
||||
|
||||
//Coordiantes of the vertex
|
||||
//Coordinates of the vertex
|
||||
Standard_Real VertX, VertY;
|
||||
|
||||
//Parameter
|
||||
@@ -3578,7 +3578,7 @@ static Standard_Integer OCC30990 (Draw_Interpretor& theDI, Standard_Integer theN
|
||||
// after evaluation of points inside the spans before and after the knot,
|
||||
// and ensure that result at the knot is exactly the same regardless
|
||||
// of previous evaluation (i.e. the cache is updated as necessary).
|
||||
// Note: the points (D0) computed on different spans are slighly different
|
||||
// Note: the points (D0) computed on different spans are slightly different
|
||||
// due to rounding, which allows us to detect this situation without
|
||||
// analysis of higher derivatives (which would show non-negligible difference).
|
||||
Standard_Integer aNbErr = 0;
|
||||
|
@@ -352,7 +352,7 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co
|
||||
|
||||
DBRep::Set("FP",FP);
|
||||
|
||||
//step 2. offseting the surface.
|
||||
//step 2. offsetting the surface.
|
||||
Handle(Geom_OffsetSurface) offsurf;
|
||||
offsurf = new Geom_OffsetSurface(BZ1, -100);
|
||||
BRepBuilderAPI_MakeFace bzf2( offsurf, Precision::Confusion() );
|
||||
@@ -362,7 +362,7 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co
|
||||
DBRep::Set("F2",F2);
|
||||
|
||||
//step 3. filleting the patch.
|
||||
//( I want to project wire of this patch on offseted surface above)
|
||||
//( I want to project wire of this patch on offsetted surface above)
|
||||
BRepFilletAPI_MakeFillet2d fillet( FP );
|
||||
TopExp_Explorer Ex;
|
||||
Ex.Init(FP, TopAbs_VERTEX);
|
||||
|
Reference in New Issue
Block a user