84 lines
1.8 KiB
C#
84 lines
1.8 KiB
C#
using StgSharp;
|
|
using StgSharp.Math;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace StgSharp
|
|
{
|
|
public class Triangle :IGeometry
|
|
{
|
|
internal ContainerNode<IGeometry> _id;
|
|
internal Point _basePoint;
|
|
internal Point _refPoint;
|
|
internal Point _line1;
|
|
internal Point _line2;
|
|
|
|
internal GetLocationHandler _refMovHandler;
|
|
internal GetLocationHandler _line01MovHandler;
|
|
internal GetLocationHandler _line02MovHandler;
|
|
|
|
Point IGeometry.BasePoint
|
|
{
|
|
get { return _basePoint; }
|
|
}
|
|
|
|
Point IGeometry.RefPoint
|
|
{
|
|
get { return _refPoint; }
|
|
}
|
|
|
|
Point IGeometry.RefVec01
|
|
{
|
|
get { return _refPoint; }
|
|
}
|
|
|
|
Point IGeometry.RefVec02
|
|
{
|
|
get { return _line1; }
|
|
}
|
|
|
|
GetLocationHandler IGeometry.Vec01Expression
|
|
{
|
|
get { return _refMovHandler; }
|
|
}
|
|
|
|
GetLocationHandler IGeometry.Vec02Expression
|
|
{
|
|
get { return _line01MovHandler; }
|
|
}
|
|
|
|
GetLocationHandler IGeometry.Vec03Expression
|
|
{
|
|
get { return _line02MovHandler; }
|
|
}
|
|
|
|
ContainerNode<IGeometry> INode<IGeometry>.ID
|
|
{
|
|
get { return _id; }
|
|
}
|
|
|
|
|
|
|
|
void IGeometry.OnRender()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
float IGeometry.SetArrayX()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
float IGeometry.SetArrayY()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
void INode<IGeometry>.setID<T>(ContainerNode<T> id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|