Ejemplo n.º 1
0
        public LDLineList getInnerLines()
        {
            LDIndexLineList lines = getInnerIndexLines();

            LDLineList result = new LDLineList();

            foreach (var line in lines)
            {
                result.Add(getLine(line));
            }
            return(result);
        }
Ejemplo n.º 2
0
        public LDLineList getLines(LDPointList points)
        {
            LDLineList result = new LDLineList();

            for (int i = 0; i < size(); i++)
            {
                int     index1 = this.at(i).getIndex1();
                int     index2 = this.at(i).getIndex2();
                LDPoint point1 = points.at(index1);
                LDPoint point2 = points.at(index2);
                result.Add(new LDLine(point1, point2));
            }
            return(result);
        }