コード例 #1
0
ファイル: DrawGeometry.cs プロジェクト: wwcc19870805/DIFGIS
        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);
        }
コード例 #2
0
 public Section(SecShape secShape)
 {
     this._secShape = secShape;
 }