Misc. typos
Found via `codespell` Trivial typos Found via `codespell`
This commit is contained in:
@@ -1474,7 +1474,7 @@ int System::solve_BFGS(SubSystem *subsys, bool /*isFine*/, bool isRedundantsolvi
|
||||
subsys->getParams(x);
|
||||
subsys->calcGrad(grad);
|
||||
|
||||
// Initial search direction oposed to gradient (steepest-descent)
|
||||
// Initial search direction opposed to gradient (steepest-descent)
|
||||
xdir = -grad;
|
||||
lineSearch(subsys, xdir);
|
||||
double err = subsys->error();
|
||||
|
||||
@@ -392,7 +392,7 @@ void SketcherGui::makeTangentToEllipseviaNewPoint(const Sketcher::SketchObject*
|
||||
center2= (static_cast<const Part::GeomArcOfCircle *>(geom2))->getCenter();
|
||||
|
||||
Base::Vector3d direction=center2-center;
|
||||
double tapprox=atan2(direction.y,direction.x)-phi; // we approximate the eccentric anomally by the polar
|
||||
double tapprox=atan2(direction.y,direction.x)-phi; // we approximate the eccentric anomaly by the polar
|
||||
|
||||
Base::Vector3d PoE = Base::Vector3d(center.x+majord*cos(tapprox)*cos(phi)-minord*sin(tapprox)*sin(phi),
|
||||
center.y+majord*cos(tapprox)*sin(phi)+minord*sin(tapprox)*cos(phi), 0);
|
||||
@@ -456,7 +456,7 @@ void SketcherGui::makeTangentToArcOfEllipseviaNewPoint(const Sketcher::SketchObj
|
||||
center2= (static_cast<const Part::GeomArcOfCircle *>(geom2))->getCenter();
|
||||
|
||||
Base::Vector3d direction=center2-center;
|
||||
double tapprox=atan2(direction.y,direction.x)-phi; // we approximate the eccentric anomally by the polar
|
||||
double tapprox=atan2(direction.y,direction.x)-phi; // we approximate the eccentric anomaly by the polar
|
||||
|
||||
Base::Vector3d PoE = Base::Vector3d(center.x+majord*cos(tapprox)*cos(phi)-minord*sin(tapprox)*sin(phi),
|
||||
center.y+majord*cos(tapprox)*sin(phi)+minord*sin(tapprox)*cos(phi), 0);
|
||||
@@ -4211,7 +4211,7 @@ void CmdSketcherConstrainPerpendicular::applyConstraint(std::vector<SelIdPair> &
|
||||
}
|
||||
else {
|
||||
Base::Vector3d direction=point1-center;
|
||||
double tapprox=atan2(direction.y,direction.x)-phi; // we approximate the eccentric anomally by the polar
|
||||
double tapprox=atan2(direction.y,direction.x)-phi; // we approximate the eccentric anomaly by the polar
|
||||
|
||||
PoO = Base::Vector3d(center.x+majord*cos(tapprox)*cos(phi)-minord*sin(tapprox)*sin(phi),
|
||||
center.y+majord*cos(tapprox)*sin(phi)+minord*sin(tapprox)*cos(phi), 0);
|
||||
|
||||
@@ -512,7 +512,7 @@ void DrawSketchHandler::createAutoConstraints(const std::vector<AutoConstraint>
|
||||
|
||||
void DrawSketchHandler::renderSuggestConstraintsCursor(std::vector<AutoConstraint> &suggestedConstraints)
|
||||
{
|
||||
// Auto Constrait icon size in px
|
||||
// Auto Constraint icon size in px
|
||||
int iconSize = 16;
|
||||
|
||||
// Create a pixmap that will contain icon and each autoconstraint icon
|
||||
|
||||
Reference in New Issue
Block a user