daily update on 20230418 by nitload youmu.
rewrite of geometry is completed. ready for release of ver0.1.0
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using StgSharp.Linear;
|
||||
using StgSharp.Math;
|
||||
using StgSharp.Math;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
@@ -12,9 +11,10 @@ namespace StgSharp.Geometries
|
||||
/// </summary>
|
||||
public abstract class IPlainGeometry:INode<IPlainGeometry>
|
||||
{
|
||||
private readonly uint bornTick;
|
||||
protected readonly uint bornTick;
|
||||
internal readonly Point refOrigin;
|
||||
|
||||
public abstract Point RefOrigin { get; }
|
||||
public Point RefOrigin { get { return refOrigin; } }
|
||||
public abstract Point RefPoint01{ get; }
|
||||
public abstract Point RefPoint02{ get; }
|
||||
public abstract Point RefPoint03{ get; }
|
||||
@@ -34,10 +34,6 @@ namespace StgSharp.Geometries
|
||||
|
||||
|
||||
internal abstract void OnRender(uint tick);
|
||||
|
||||
public abstract RenderMode renderMode { get; }
|
||||
public abstract float SetArrayX();
|
||||
public abstract float SetArrayY();
|
||||
|
||||
public abstract Line[] GetAllSides();
|
||||
|
||||
@@ -46,17 +42,4 @@ namespace StgSharp.Geometries
|
||||
}
|
||||
|
||||
|
||||
public enum RenderMode
|
||||
{
|
||||
/// <summary>
|
||||
/// 坐标点将基于参考原点构建
|
||||
/// </summary>
|
||||
BasePoint,
|
||||
/// <summary>
|
||||
/// 坐标点将基于参考起点构建
|
||||
/// </summary>
|
||||
RefPoint
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user