public static IPipeSection DefaultSection(SecShape secShape) { switch (secShape) { case SecShape.CircleRing: return(new PipeSection(0.1, 0.0, HorizontalPos.Center, VerticalPos.Center, 0.01, 0)); case SecShape.RectangleRing: return(new PipeSection(0.15, 0.12, HorizontalPos.Center, VerticalPos.Center, 0.01, 0)); } return(null); }
public Section(SecShape secShape) { this._secShape = secShape; }