Path: libarea typos

Source and comment typos
This commit is contained in:
luz.paz
2018-01-24 13:08:57 -05:00
parent c79fe60e29
commit a83dd308bd
2 changed files with 4 additions and 4 deletions

View File

@@ -789,7 +789,7 @@ struct WireJoiner {
throw Base::RuntimeError("Module must be built with boost version >= 1.55");
#else
// It seems OCC projector sometimes mess up the tolerance of edges
// which are supposed to be connected. So use a lesser preceision
// which are supposed to be connected. So use a lesser precision
// below, and call makeCleanWire to fix the tolerance
const double tol = 1e-10;
@@ -1879,7 +1879,7 @@ void Area::makeOffset(list<shared_ptr<CArea> > &areas,
case Area::AlgoClipperOffset:
#endif
area.OffsetWithClipper(offset,JoinType,EndType,
myParams.MiterLimit,myParams.RoundPreceision);
myParams.MiterLimit,myParams.RoundPrecision);
#ifdef AREA_OFFSET_ALGO
break;
}
@@ -2003,7 +2003,7 @@ TopoDS_Shape Area::makePocket(int index, PARAM_ARGS(PARAM_FARG,AREA_PARAMS_POCKE
PARAM_ENUM_CONVERT(AREA_MY,PARAM_FNAME,PARAM_ENUM_EXCEPT,AREA_PARAMS_OFFSET_CONF);
auto area = *myArea;
area.OffsetWithClipper(-tool_radius,JoinType,EndType,
myParams.MiterLimit,myParams.RoundPreceision);
myParams.MiterLimit,myParams.RoundPrecision);
out.Clip(toClipperOp(OperationIntersection),&area,SubjectFill,ClipFill);
done = true;
break;

View File

@@ -172,7 +172,7 @@
(OpenRound)(ClosedPolygon)(ClosedLine)(OpenSquare)(OpenButt),(ClipperLib::EndType,ClipperLib::et)))\
((double,miter_limit,MiterLimit,2.0,\
"Miter limit for joint type Miter. See https://goo.gl/K8xX9h",App::PropertyFloat))\
((double,round_precision,RoundPreceision,0.0,\
((double,round_precision,RoundPrecision,0.0,\
"Round joint precision. If =0, it defaults to Accuracy. \n"\
"See https://goo.gl/4odfQh",App::PropertyPrecision))