Skip to content

Commit b3f27cd

Browse files
author
LoneWandererProductions
committed
last one
1 parent 3eeab43 commit b3f27cd

2 files changed

Lines changed: 0 additions & 35 deletions

File tree

Imaging/Imaging.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
<ProjectReference Include="..\DataFormatter\DataFormatter.csproj" />
2424
<ProjectReference Include="..\ExtendedSystemObjects\ExtendedSystemObjects.csproj" />
2525
<ProjectReference Include="..\Mathematics.Constants\Mathematics.Constants.csproj" />
26-
<ProjectReference Include="..\Mathematics\Mathematics.csproj" />
2726
<ProjectReference Include="..\RenderEngine\RenderEngine.csproj" />
2827
</ItemGroup>
2928

Imaging/PointId.cs

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,6 @@ public PointId(int x, int y)
3636
Y = y;
3737
}
3838

39-
/// <summary>
40-
/// Initializes a new instance of the <see cref="PointId" /> class.
41-
/// </summary>
42-
/// <param name="x">The x in double.</param>
43-
/// <param name="y">The yin double.</param>
44-
public PointId(double x, double y)
45-
{
46-
X = (int)Math.Round(x, 1, MidpointRounding.AwayFromZero);
47-
Y = (int)Math.Round(y, 1, MidpointRounding.AwayFromZero);
48-
}
49-
5039
/// <summary>
5140
/// Initializes a new instance of the <see cref="PointId" /> class.
5241
/// </summary>
@@ -60,21 +49,6 @@ public PointId(int x, int y, int width)
6049
Id = CalculateId(x, y, width);
6150
}
6251

63-
/// <summary>
64-
/// Initializes a new instance of the <see cref="PointId" /> class.
65-
/// </summary>
66-
public PointId()
67-
{
68-
}
69-
70-
/// <summary>
71-
/// Gets the null point.
72-
/// </summary>
73-
/// <value>
74-
/// The null point.
75-
/// </value>
76-
public static PointId NullPoint { get; } = new(0, 0);
77-
7852
/// <summary>
7953
/// Gets the identifier of the Coordinate in the 2D System.
8054
/// </summary>
@@ -109,14 +83,6 @@ public PointId()
10983
public static PointId FromId(int id, int width) =>
11084
new(id % width, id / width);
11185

112-
/// <summary>
113-
/// Converts to id.
114-
/// </summary>
115-
/// <param name="width">The width.</param>
116-
/// <returns>Id of Point</returns>
117-
[MethodImpl(MethodImplOptions.AggressiveInlining)]
118-
public int ToId(int width) => Y * width + X;
119-
12086
/// <summary>
12187
/// Equals the specified other.
12288
/// </summary>

0 commit comments

Comments
 (0)