mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-07-20 14:19:53 +08:00
Coding - Apply Clang-Tidy automatic fixes (#1245)
Flags: aChecks="modernize-deprecated-headers,modernize-redundant-void-arg,modernize-use-bool-literals,modernize-use-equals-default,modernize-use-equals-delete,modernize-use-nullptr,modernize-use-override,performance-avoid-endl,performance-move-constructor-init,readability-braces-around-statements,readability-delete-null-pointer,readability-redundant-control-flow,readability-redundant-declaration,readability-redundant-function-ptr-dereference,readability-redundant-member-init,readability-redundant-string-init,readability-static-accessed-through-instance" clang-tidy version: 22.1.3
This commit is contained in:
@@ -175,13 +175,19 @@ int BRepMesh_BaseMeshAlgo::addLinkToMesh(const int theFirstNodeId
|
||||
{
|
||||
int aLinkIndex;
|
||||
if (theOrientation == TopAbs_REVERSED)
|
||||
{
|
||||
aLinkIndex =
|
||||
myStructure->AddLink(BRepMesh_Edge(theLastNodeId, theFirstNodeId, BRepMesh_Frontier));
|
||||
}
|
||||
else if (theOrientation == TopAbs_INTERNAL)
|
||||
{
|
||||
aLinkIndex = myStructure->AddLink(BRepMesh_Edge(theFirstNodeId, theLastNodeId, BRepMesh_Fixed));
|
||||
}
|
||||
else
|
||||
{
|
||||
aLinkIndex =
|
||||
myStructure->AddLink(BRepMesh_Edge(theFirstNodeId, theLastNodeId, BRepMesh_Frontier));
|
||||
}
|
||||
|
||||
return std::abs(aLinkIndex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user