Merge pull request #5031 from luzpaz/PD-typo

PartDesign: Fix typo in function getContiniusEdges->getContinuousEdges
This commit is contained in:
Chris Hennes
2021-09-15 11:09:33 -05:00
committed by GitHub
6 changed files with 7 additions and 7 deletions

View File

@@ -115,7 +115,7 @@ App::DocumentObjectExecReturn *Chamfer::execute(void)
}
std::vector<std::string> SubNames = std::vector<std::string>(Base.getSubValues());
getContiniusEdges(TopShape, SubNames);
getContinuousEdges(TopShape, SubNames);
if (SubNames.size() == 0)
return new App::DocumentObjectExecReturn("No edges specified");

View File

@@ -97,7 +97,7 @@ Part::Feature *DressUp::getBaseObject(bool silent) const
return rv;
}
void DressUp::getContiniusEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames) {
void DressUp::getContinuousEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames) {
TopTools_IndexedMapOfShape mapOfEdges;
TopTools_IndexedDataMapOfShapeListOfShape mapEdgeFace;

View File

@@ -58,7 +58,7 @@ public:
virtual Part::Feature* getBaseObject(bool silent=false) const;
/// extracts all edges from the subshapes (including face edges) and furthermore adds
/// all C0 continuous edges to the vector
void getContiniusEdges(Part::TopoShape, std::vector< std::string >&);
void getContinuousEdges(Part::TopoShape, std::vector< std::string >&);
virtual void getAddSubShape(Part::TopoShape &addShape, Part::TopoShape &subShape);

View File

@@ -74,7 +74,7 @@ App::DocumentObjectExecReturn *Fillet::execute(void)
return new App::DocumentObjectExecReturn(e.what());
}
std::vector<std::string> SubNames = std::vector<std::string>(Base.getSubValues());
getContiniusEdges(TopShape, SubNames);
getContinuousEdges(TopShape, SubNames);
if (SubNames.size() == 0)
return new App::DocumentObjectExecReturn("Fillet not possible on selected shapes");

View File

@@ -401,7 +401,7 @@ void Pipe::setupAlgorithm(BRepOffsetAPI_MakePipeShell& mkPipeShell, TopoDS_Shape
}
void Pipe::getContiniusEdges(Part::TopoShape /*TopShape*/, std::vector< std::string >& /*SubNames*/) {
void Pipe::getContinuousEdges(Part::TopoShape /*TopShape*/, std::vector< std::string >& /*SubNames*/) {
/*
TopTools_IndexedMapOfShape mapOfEdges;
@@ -458,7 +458,7 @@ void Pipe::buildPipePath(const Part::TopoShape& shape, const std::vector< std::s
try {
if (!subedge.empty()) {
//if(SpineTangent.getValue())
//getContiniusEdges(shape, subedge);
//getContinuousEdges(shape, subedge);
BRepBuilderAPI_MakeWire mkWire;
for (std::vector<std::string>::const_iterator it = subedge.begin(); it != subedge.end(); ++it) {

View File

@@ -60,7 +60,7 @@ public:
protected:
///get the given edges and all their tangent ones
void getContiniusEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames);
void getContinuousEdges(Part::TopoShape TopShape, std::vector< std::string >& SubNames);
void buildPipePath(const Part::TopoShape& input, const std::vector<std::string>& edges, TopoDS_Shape& result);
void setupAlgorithm(BRepOffsetAPI_MakePipeShell& mkPipeShell, TopoDS_Shape& auxshape);