58 lines
1.2 KiB
C#
58 lines
1.2 KiB
C#
using StgSharp;
|
|
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; }
|
|
}
|
|
|
|
public float VecX
|
|
{
|
|
get { return _vecX; }
|
|
}
|
|
|
|
public float VecY
|
|
{
|
|
get { return _vecY; }
|
|
}
|
|
|
|
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();
|
|
}
|
|
}
|
|
}
|
|
}
|