Пример #1
0
 public SlopePipes(double slope, Pipe pipe)
 {
     Slope              = slope;
     ReferenceLine      = (pipe.Location as LocationCurve).Curve as Line;
     ReferencePoint0    = ReferenceLine.GetEndPoint(0);
     ReferencePoint1    = ReferenceLine.GetEndPoint(1);
     ReferenceDirection = ReferenceLine.Direction;
     ReferenceLine.MakeUnbound();
     SkewPipes = new List <SkewPipe>();
     SkewPipes.Add(new SkewPipe(0, pipe));
 }