Skip to content

Commit

Permalink
Re-arranged some points of the Duval Pentagon areas
Browse files Browse the repository at this point in the history
  • Loading branch information
code-recipes committed Oct 10, 2017
1 parent 12abde5 commit cb2611a
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
Binary file modified Distribution/xDGA.ADDIN.xll
Binary file not shown.
Binary file modified Distribution/xDGA.ADDIN64.xll
Binary file not shown.
Binary file modified Distribution/xDGA32.zip
Binary file not shown.
Binary file modified Distribution/xDGA64.zip
Binary file not shown.
14 changes: 7 additions & 7 deletions xDGA.CORE/Algorithms/DuvalPentagons/DuvalPentagonOneRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ public DuvalPentagonOneRule() : base("Duval Pentagon 1", Gas.Hydrogen, Gas.Ethan
{
Coordinates =
{
new CartesianCoordinate(24.0, -30.0),
new CartesianCoordinate(-1.0, -2.0),
new CartesianCoordinate(-6.0, -4.0),
new CartesianCoordinate(1.0, -32.4),
new CartesianCoordinate(-23.3, -32.4),
new CartesianCoordinate(-6.0, -4.0),
new CartesianCoordinate(-1.0, -2.0)
new CartesianCoordinate(24.0, -30.0)
}
});

Expand All @@ -90,25 +90,25 @@ public DuvalPentagonOneRule() : base("Duval Pentagon 1", Gas.Hydrogen, Gas.Ethan
{
new CartesianCoordinate(0.0, 1.5),
new CartesianCoordinate(-35.0, 3.0),
new CartesianCoordinate(-23.3, -32.4),
new CartesianCoordinate(-22.5, -32.4),
new CartesianCoordinate(-6.0, -4.0),
new CartesianCoordinate(-1.0, -2.0),
new CartesianCoordinate(-23.3, -32.4)
new CartesianCoordinate(-1.0, -2.0)
}
});

Pentagon.Areas.Add(new Area(FailureType.Code.S)
{
Coordinates =
{
new CartesianCoordinate(-35.0, 3.0),
new CartesianCoordinate(0.0, 1.5),
new CartesianCoordinate(0.0, 24.5),
new CartesianCoordinate(-1.0, 24.5),
new CartesianCoordinate(-1.0, 33.0),
new CartesianCoordinate(0.0, 33.0),
new CartesianCoordinate(0.0, 40.0),
new CartesianCoordinate(-38.0, -12.4)
new CartesianCoordinate(-38.0, 12.4),
new CartesianCoordinate(-35.0, 3.0)
}
});
}
Expand Down
10 changes: 5 additions & 5 deletions xDGA.CORE/Algorithms/DuvalPentagons/DuvalPentagonTwoRule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,26 +66,26 @@ public DuvalPentagonTwoRule() : base("Duval Pentagon 2", Gas.Hydrogen, Gas.Ethan
{
Coordinates =
{
new CartesianCoordinate(-35.0, 3.0),
new CartesianCoordinate(0.0, 1.5),
new CartesianCoordinate(0.0, 24.5),
new CartesianCoordinate(-1.0, 24.5),
new CartesianCoordinate(-1.0, 33.0),
new CartesianCoordinate(0.0, 33.0),
new CartesianCoordinate(0.0, 40.0),
new CartesianCoordinate(-38.0, -12.4)
new CartesianCoordinate(-38.0, 12.4),
new CartesianCoordinate(-35.0, 3.0)
}
});

Pentagon.Areas.Add(new Area(FailureType.Code.T3_H)
{
Coordinates =
{
new CartesianCoordinate(24.0, -30.0),
new CartesianCoordinate(-3.5, -3.0),
new CartesianCoordinate(-1.0, -2.0),
new CartesianCoordinate(-3.5, -3.0),
new CartesianCoordinate(2.5, -32.4),
new CartesianCoordinate(23.3, -32.4)
new CartesianCoordinate(23.3, -32.4),
new CartesianCoordinate(24.0, -30.0)
}
});

Expand Down

0 comments on commit cb2611a

Please sign in to comment.