Files
stgsharp/源代码/StgSharp/Geometries/Circle.cs
T

51 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp
{
public class Circle : IGeometry
{
private StgSharp.ContainerNode<INode> _id;
internal Point _referencePoint;
internal float _vecX;
internal float _vecY;
public Point ReferencePoint
{
get { return _referencePoint; }
}
float IGeometry.ExpressionX => throw new NotImplementedException();
float IGeometry.ExpressionY => throw new NotImplementedException();
ContainerNode<INode> INode.ID
{
get { return _id; }
}
public float SetArrayX(Counter<uint> tickCounter)
{
throw new NotImplementedException();
}
public float SetArrayY(Counter<uint> tickCounter)
{
throw new NotImplementedException();
}
void INode.setID<T>(ContainerNode<T> id)
{
if (_id == default(ContainerNode<INode>))
{
_id = id as ContainerNode<INode>;
}
else
{
throw new ArgumentException();
}
}
}
}