Merge pull request #5031 from luzpaz/PD-typo
PartDesign: Fix typo in function getContiniusEdges->getContinuousEdges
This commit is contained in:
@@ -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");
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user