daily update on 20230111 by nitload youmu

This commit is contained in:
Nitload
2023-01-12 00:33:20 +08:00
parent 6dfc2f8d70
commit e9116ca11b
47 changed files with 190 additions and 98 deletions
+6 -9
View File
@@ -6,9 +6,10 @@ using System.Text;
namespace StgSharp.Geometries
{
public class Line:IGeometry
public class Line:IGeometrySimple
{
private Logic.LinkedListNode<INode> _id;
private Logic.ContainerNode<INode> _id;
internal Point _referencePoint;
internal float _vecX;
internal float _vecY;
@@ -18,20 +19,16 @@ namespace StgSharp.Geometries
get { return _referencePoint; }
}
public float vecX
public float VecX
{
get { return _vecX; }
}
internal float vecY
public float VecY
{
get { return _vecY; }
}
public Logic.LinkedListNode<INode> ID
{
get { return _id; }
}
public Line( Point referencePoint, float vecX, float vecY)
{
@@ -48,7 +45,7 @@ namespace StgSharp.Geometries
{
return 0.0f;
}
}