Esempio n. 1
0
        public TopologicalLine([NotNull] TableIndexRow row,
                               [NotNull] IPolyline line,
                               int partIndex)
        {
            Assert.ArgumentNotNull(row, nameof(row));
            Assert.ArgumentNotNull(line, nameof(line));

            Row       = row;
            FullLine  = line;
            PartIndex = partIndex;
        }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NetElement"/> class.
 /// </summary>
 /// <param name="row">The row.</param>
 internal NetElement([NotNull] TableIndexRow row)
 {
     _row = row;
 }
Esempio n. 3
0
 public DirectedRow([NotNull] TableIndexRow row, int partIndex, bool isBackward)
     : base(row)
 {
     _isBackward      = isBackward;
     _topologicalLine = new TopologicalLine(row, partIndex);
 }
Esempio n. 4
0
 public NetPoint(TableIndexRow row) : base(row)
 {
     _point = new NetPoint_((IPoint)((IFeature)row.Row).Shape);
 }
Esempio n. 5
0
 public TopologicalLine([NotNull] TableIndexRow row, int partIndex)
     : this(row, (IPolyline)((IFeature)row.Row).Shape, partIndex)
 {
     Assert.ArgumentNotNull(row, nameof(row));
 }