Mesh: Apply clang-format
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "PreCompiled.h"
|
||||
#ifndef _PreComp_
|
||||
# include <sstream>
|
||||
#include <sstream>
|
||||
#endif
|
||||
|
||||
#include "Edge.h"
|
||||
@@ -31,21 +31,21 @@
|
||||
|
||||
using namespace Mesh;
|
||||
|
||||
Edge::Edge() //NOLINT
|
||||
: Mesh(nullptr)
|
||||
Edge::Edge() // NOLINT
|
||||
: Mesh(nullptr)
|
||||
{
|
||||
for (int i=0; i<2; i++) {
|
||||
for (int i = 0; i < 2; i++) {
|
||||
PIndex[i] = MeshCore::POINT_INDEX_MAX;
|
||||
NIndex[i] = MeshCore::FACET_INDEX_MAX;
|
||||
}
|
||||
}
|
||||
|
||||
Edge::Edge(const Edge& e)
|
||||
: MeshCore::MeshGeomEdge(e)
|
||||
, Index(e.Index)
|
||||
, Mesh(e.Mesh)
|
||||
: MeshCore::MeshGeomEdge(e)
|
||||
, Index(e.Index)
|
||||
, Mesh(e.Mesh)
|
||||
{
|
||||
for (int i=0; i<2; i++) {
|
||||
for (int i = 0; i < 2; i++) {
|
||||
PIndex[i] = e.PIndex[i];
|
||||
NIndex[i] = e.NIndex[i];
|
||||
}
|
||||
@@ -53,12 +53,12 @@ Edge::Edge(const Edge& e)
|
||||
|
||||
Edge::~Edge() = default;
|
||||
|
||||
void Edge::operator = (const Edge& e)
|
||||
void Edge::operator=(const Edge& e)
|
||||
{
|
||||
MeshCore::MeshGeomEdge::operator = (e);
|
||||
Mesh = e.Mesh;
|
||||
MeshCore::MeshGeomEdge::operator=(e);
|
||||
Mesh = e.Mesh;
|
||||
Index = e.Index;
|
||||
for (int i=0; i<2; i++) {
|
||||
for (int i = 0; i < 2; i++) {
|
||||
PIndex[i] = e.PIndex[i];
|
||||
NIndex[i] = e.NIndex[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user