misc typos

misc-typos
This commit is contained in:
luzpaz
2017-09-15 00:18:44 -04:00
committed by wmayer
parent 7c366eae50
commit a3953e95df
3 changed files with 6 additions and 6 deletions

View File

@@ -103,11 +103,11 @@ public:
/// obj and from obj excluding expressions and stopping the recursion at other geofeaturegroups.
/// The result is the combination of CSOutList and CSInList.
static std::vector<App::DocumentObject*> getCSRelevantLinks(const App::DocumentObject* obj);
/// Checks if the links of the given object comply with all GeoFeatureGroup requrirements, that means
/// if normal links are only withing the parent GeoFeatureGroup.
/// Checks if the links of the given object comply with all GeoFeatureGroup requirements, that means
/// if normal links are only within the parent GeoFeatureGroup.
static bool areLinksValid(const App::DocumentObject* obj);
/// Checks if the given link complies with all GeoFeatureGroup requrirements, that means
/// if normal links are only withing the parent GeoFeatureGroup.
/// Checks if the given link complies with all GeoFeatureGroup requirements, that means
/// if normal links are only within the parent GeoFeatureGroup.
static bool isLinkValid(App::Property* link);
//Returns all objects that are wrongly linked from this object, meaning which are out of scope of the
//links of obj

View File

@@ -78,7 +78,7 @@ public:
void setScope(LinkScope scope) {_pcScope = scope;};
/**
* @brief Get the links scope
* Retreive what kind of links are allowed. Only in the Local GeoFeatureGroup, in this and
* Retrieve what kind of links are allowed. Only in the Local GeoFeatureGroup, in this and
* all Childs or to all objects within the Glocal scope.
*/
LinkScope getScope() {return _pcScope;};

View File

@@ -205,7 +205,7 @@ TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(ViewProviderFemCo
if (pcPart) { // deduct dimension from part_obj.Shape.ShapeType
const TopoDS_Shape & pShape = pcPart->Shape.getShape().getShape();
const TopAbs_ShapeEnum shapeType = pShape.IsNull() ? TopAbs_SHAPE : pShape.ShapeType();
if (shapeType == TopAbs_SOLID || shapeType ==TopAbs_COMPSOLID) // COMPSOLID is solids conected by faces
if (shapeType == TopAbs_SOLID || shapeType ==TopAbs_COMPSOLID) // COMPSOLID is solids connected by faces
dimension =3;
else if (shapeType == TopAbs_FACE || shapeType == TopAbs_SHELL)
dimension =2;