Example #1
0
    public void EdgeObjectQuickAdd(string tName)
    {
        EdgeObjectMaker EOM = AddEdgeObject();

        EOM.LoadFromLibrary(tName, true);
        EOM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance);
        EOM.tNode = this;
        EOM.Setup();
    }
Example #2
0
    public void SetupEdgeObjects(bool bCollect = true)
    {
        if (EdgeObjects == null)
        {
            EdgeObjects = new List <EdgeObjectMaker>();
        }
        int             eCount = EdgeObjects.Count;
        EdgeObjectMaker EOM    = null;

        for (int i = 0; i < eCount; i++)
        {
            EOM       = EdgeObjects[i];
            EOM.tNode = this;
            EOM.Setup(bCollect);
        }
    }
Example #3
0
    public void EdgeObjectLoadFromLibrary(int i, string tName)
    {
        if (EdgeObjects == null)
        {
            EdgeObjects = new List <EdgeObjectMaker>();
        }
        int eCount = EdgeObjects.Count;

        if (i > -1 && i < eCount)
        {
            EdgeObjectMaker EOM = EdgeObjects[i];
            EOM.LoadFromLibrary(tName);
            EOM.SetDefaultTimes(bIsEndPoint, tTime, NextTime, idOnSpline, GSDSpline.distance);
            EOM.tNode = this;
            EOM.Setup();
        }
    }