ses00001 solved
This commit is contained in:
@@ -65,7 +65,7 @@
|
||||
<Class Name="StgSharp.INode<T>" Collapsed="true">
|
||||
<Position X="19.75" Y="0.5" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAAoAAAAABAAAAAAACAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<HashCode>AgAAAAAAAAAAogAAAABAAAAAAACAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Logic\ContainerNode.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
@@ -87,7 +87,7 @@
|
||||
<Class Name="StgSharp.LinkedList<T>" Collapsed="true">
|
||||
<Position X="5" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAIIAAABAIAQAQAAAAAABAAAAAgAAAAEAAACAAAAAAA=</HashCode>
|
||||
<HashCode>AAIIAAAAAIAAAQAAAAAABAAAAAgAAAAEAAACAAAAQAA=</HashCode>
|
||||
<FileName>Logic\LinkedList.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
<Lollipop Position="0.2" />
|
||||
@@ -95,7 +95,7 @@
|
||||
<Class Name="StgSharp.Pool" Collapsed="true">
|
||||
<Position X="7.25" Y="1.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>ACAAAAABAwAYAAAAAQAAAAAAAAABAgAAAAAQIIAAEAA=</HashCode>
|
||||
<HashCode>ACAAAABBAwAYAAAAAQAAAAAAAAABAgAAAAAQIIAAEAA=</HashCode>
|
||||
<FileName>Logic\Pool.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
@@ -204,8 +204,8 @@
|
||||
<FileName>Geometries\PlainGeometry\Line.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometries.Parallelogram">
|
||||
<Position X="27.5" Y="4.75" Width="1.5" />
|
||||
<Class Name="StgSharp.Geometries.Parallelogram" Collapsed="true">
|
||||
<Position X="26" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AIgCAAAAAAAAAAAAAAABAIABgAAAAAAAAAAC4AIAAAA=</HashCode>
|
||||
<FileName>Geometries\PlainGeometry\Parallelogram.cs</FileName>
|
||||
@@ -247,7 +247,7 @@
|
||||
<FileName>Geometries\PlainGeometry\Polygon6.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Geometries.Rectangle">
|
||||
<Class Name="StgSharp.Geometries.Rectangle" Collapsed="true">
|
||||
<Position X="24" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAgCAAAAAAAAAAAAAAABAAAAgAAAAAAAAAAA4AIAAAA=</HashCode>
|
||||
@@ -311,6 +311,13 @@
|
||||
<FileName>Math\Scalar\Function.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Class Name="StgSharp.Square">
|
||||
<Position X="28" Y="4.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
|
||||
<FileName>Geometries\PlainGeometry\Square.cs</FileName>
|
||||
</TypeIdentifier>
|
||||
</Class>
|
||||
<Struct Name="StgSharp.Control.GraphicIOPack" Collapsed="true">
|
||||
<Position X="48.25" Y="7.75" Width="1.5" />
|
||||
<TypeIdentifier>
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace StgSharp.Geometries
|
||||
internal override sealed void OnRender(uint tick)
|
||||
{
|
||||
tick-=bornTick;
|
||||
this.MovCenter(tick);
|
||||
this.MovCenter(tick);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp
|
||||
namespace StgSharp.Geometries
|
||||
{
|
||||
public class Square
|
||||
public class Square:Rectangle
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -42,8 +42,6 @@ namespace StgSharp.Geometries
|
||||
this.vertex2 = new Point(vertexArray.vertex2Ptr);
|
||||
this.vertex3 = new Point(vertexArray.vertex3Ptr);
|
||||
|
||||
Console.WriteLine("vertex ok");
|
||||
Console.WriteLine(ProgramTimeLine._currentPool);
|
||||
/**/
|
||||
ProgramTimeLine._currentPool.pointContainer.Add(vertex1);
|
||||
ProgramTimeLine._currentPool.pointContainer.Add(vertex2);
|
||||
|
||||
@@ -13,8 +13,10 @@ namespace StgSharp
|
||||
[NotNull]
|
||||
protected ContainerNode<T> _id;
|
||||
|
||||
[AllowNull]
|
||||
internal ContainerNode<T> ID { get; }
|
||||
internal ContainerNode<T> ID
|
||||
{
|
||||
get { return _id; }
|
||||
}
|
||||
|
||||
internal ContainerNode<T> Previous
|
||||
{
|
||||
|
||||
@@ -17,10 +17,6 @@ namespace StgSharp
|
||||
{
|
||||
_heading = new ContainerNode<T>(null);
|
||||
isEmpty = true;
|
||||
|
||||
#if DEBUG
|
||||
Console.WriteLine("Linked list init ok");
|
||||
#endif
|
||||
}
|
||||
|
||||
public T First
|
||||
@@ -49,19 +45,12 @@ namespace StgSharp
|
||||
t.Next = _heading;
|
||||
t.Previous = _heading;
|
||||
isEmpty = false;
|
||||
Console.WriteLine("1st item ok");
|
||||
Console.WriteLine(_heading._next);
|
||||
Console.WriteLine(_heading._previous);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("next begin");
|
||||
t.Next = _heading;
|
||||
Console.WriteLine("step 01 ok");
|
||||
t.Previous = _heading.Previous;
|
||||
Console.WriteLine("step 02 ok");
|
||||
_heading._previous._next = t.ID;
|
||||
Console.WriteLine("step 03 ok");
|
||||
_heading._previous = t.ID;
|
||||
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user