Fix typos [skip ci]
Found via codespell v1.18.0.dev0 ``` codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,connexion,currenty,dof,doubleclick,dum,eiter,elemente,ende,feld,finde,findf,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml ```
This commit is contained in:
@@ -284,7 +284,7 @@ Py::Object CosmeticEdgePy::getRadius(void) const
|
||||
TechDraw::GeomType gt = getCosmeticEdgePtr()->m_geometry->geomType;
|
||||
if ( (gt != TechDraw::GeomType::CIRCLE) &&
|
||||
(gt != TechDraw::GeomType::ARCOFCIRCLE) ) {
|
||||
std::string error = "not a cirle. Can not set radius";
|
||||
std::string error = "not a circle. Can not set radius";
|
||||
throw Py::TypeError(error);
|
||||
}
|
||||
double r = getCosmeticEdgePtr()->permaRadius;
|
||||
@@ -298,7 +298,7 @@ void CosmeticEdgePy::setRadius(Py::Object arg)
|
||||
if ( (gt != TechDraw::GeomType::CIRCLE) &&
|
||||
(gt != TechDraw::GeomType::ARCOFCIRCLE) ) {
|
||||
std::string error = std::string(p->ob_type->tp_name);
|
||||
error += " is not a cirle. Can not set radius";
|
||||
error += " is not a circle. Can not set radius";
|
||||
throw Py::TypeError(error);
|
||||
}
|
||||
|
||||
@@ -326,7 +326,7 @@ Py::Object CosmeticEdgePy::getCenter(void) const
|
||||
TechDraw::GeomType gt = getCosmeticEdgePtr()->m_geometry->geomType;
|
||||
if ( (gt != TechDraw::GeomType::CIRCLE) &&
|
||||
(gt != TechDraw::GeomType::ARCOFCIRCLE) ) {
|
||||
std::string error = "not a cirle. Can not get center";
|
||||
std::string error = "not a circle. Can not get center";
|
||||
throw Py::TypeError(error);
|
||||
}
|
||||
Base::Vector3d point = getCosmeticEdgePtr()->permaStart;
|
||||
@@ -340,7 +340,7 @@ void CosmeticEdgePy::setCenter(Py::Object arg)
|
||||
if ( (gt != TechDraw::GeomType::CIRCLE) &&
|
||||
(gt != TechDraw::GeomType::ARCOFCIRCLE) ) {
|
||||
std::string error = std::string(p->ob_type->tp_name);
|
||||
error += " is not a cirle. Can not set center";
|
||||
error += " is not a circle. Can not set center";
|
||||
throw Py::TypeError(error);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ int PropertyCosmeticEdgeList::getSize(void) const
|
||||
}
|
||||
|
||||
|
||||
//_lValueList is not const. so why do we pass a const paramter?
|
||||
//_lValueList is not const. so why do we pass a const parameter?
|
||||
void PropertyCosmeticEdgeList::setValue(CosmeticEdge* lValue)
|
||||
{
|
||||
if (lValue) {
|
||||
|
||||
Reference in New Issue
Block a user