daily update on 20230416 by nitload youmu
This commit is contained in:
@@ -1,48 +1,132 @@
|
||||
using System;
|
||||
using StgSharp.Linear;
|
||||
using StgSharp.Math;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Numerics;
|
||||
using System.Text;
|
||||
|
||||
namespace StgSharp.Geometries
|
||||
{
|
||||
public class Polygon : IPlainGeometryCombination
|
||||
public class Polygon : IPlainGeometry
|
||||
{
|
||||
internal Point[] pointsArray;
|
||||
internal Point _refOrigin;
|
||||
internal Point[] vertexArray ;
|
||||
internal RenderMode _renderMode;
|
||||
internal readonly int _vertexCount;
|
||||
|
||||
public Polygon(uint bornTime) : base(bornTime)
|
||||
public override Point RefOrigin => _refOrigin;
|
||||
|
||||
public override Point RefPoint => vertexArray[0];
|
||||
|
||||
public override Point RefVec01 => throw new NotImplementedException();
|
||||
|
||||
public override Point RefVec02 => throw new NotImplementedException();
|
||||
|
||||
public override RenderMode renderMode => throw new NotImplementedException();
|
||||
|
||||
internal override void CalcVec01(uint tick)
|
||||
{
|
||||
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Polygon(int pointNum)
|
||||
internal override void CalcVec02(vec3d vec, uint tick)
|
||||
{
|
||||
pointsArray = new Point[pointNum];
|
||||
this.toSimpleGeometry();
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Polygon(Point[] pointsArray)
|
||||
internal override void CalcVec03(vec3d vec, uint tick)
|
||||
{
|
||||
PointsArray = pointsArray;
|
||||
this.toSimpleGeometry();
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void toSimpleGeometry()
|
||||
internal override void CalcVec04(vec3d vec, uint tick)
|
||||
{
|
||||
Point begin = pointsArray[0];
|
||||
for (int i = 1; i <= pointsArray.Length; i++)
|
||||
{
|
||||
Triangle a = new Triangle(this._bornTick);
|
||||
this.Add(a);
|
||||
}
|
||||
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Point[] PointsArray
|
||||
internal override void CalcVec05(vec3d vec, uint tick)
|
||||
{
|
||||
get { return pointsArray; }
|
||||
set { pointsArray = value; }
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec06(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec07(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec08(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec09(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec10(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec11(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec12(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec13(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec14(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec15(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void CalcVec16(vec3d vec, uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
internal override void OnRender(uint tick)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override float SetArrayX()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override float SetArrayY()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override Line[] GetAllSides()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public override Plain GetPlain()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user