Files
stgsharp/源代码/.Net/StgSharp/Geometries/Line.cs
T

53 lines
1019 B
C#

using StgSharp.Control;
using StgSharp.Logic;
using System;
using System.Collections.Generic;
using System.Text;
namespace StgSharp.Geometries
{
public class Line:IGeometrySimple
{
private Logic.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; }
}
public Line( Point referencePoint, float vecX, float vecY)
{
_referencePoint = referencePoint;
_vecX = vecX;
_vecY = vecY;
}
public float SetArrayX(Counter<uint> tickCounter)
{
return 0.0f;
}
public float SetArrayY(Counter<uint> tickCounter)
{
return 0.0f;
}
}
}