public static Section SectionByID(dsLines dsLines, int ID) { dsLines.tbLineSectionsRow rw = dsLines.tbLineSections.FindByКод(ID); if (rw == null) return null; if (rw.Длина < 0.001) return new JunctSection(dsLines, ID); if (Math.Abs(rw.Угол) < 0.01) return new LineSection(dsLines, ID); return new ArcSection(dsLines, ID); }
public SplintComponent(dsSplints dsSplints, dsLines dsLines, int ComponentId, SplintContourType StartType, double Value, int Numer, int LineId) { this.dsLines = dsLines; this.dsSplints = dsSplints; this.ComponentId = ComponentId; starttype = StartType; value = Value; numer = Numer; this.LineId = LineId; }
public Enumerator(dsLines dsLines, dsSplints dsSplints) { Index = -1; this.dsLines = dsLines; this.dsSplints = dsSplints; }
public Lines(dsLines dsLines, dsSplints dsSplints) { this.dsLines = dsLines; this.dsSplints = dsSplints; }
public Point(dsLines dsLines, int LineId, int Numer) { this.dsLines = dsLines; Its_LineId = LineId; N = Numer; }
public Section(dsLines dsLines, int ID) { Its_ID = ID; this.dsLines = dsLines; Calc(); }
public JunctSection(dsLines dsLines, int ID) : base(dsLines, ID) { }
public Side(dsLines dsLines, int ID) { this.dsLines = dsLines; this.Its_Id = ID; }
public ArcSection(dsLines dsLines, int ID) : base(dsLines, ID) { }
public Enumerator(dsLines dsLines, dsSplints Splints, int LineId) { this.dsLines = dsLines; this.LineId = LineId; this.dsSplints = Splints; Index = -1; }
public Line(dsLines dsLines, dsSplints dsSplints, int ID) { this.dsLines = dsLines; this.dsSplints = dsSplints; LineId = ID; }
public LengthSection(dsLines dsLines, int ID) : base(dsLines, ID) { }