Beispiel #1
0
 /// <summary>
 /// Overrides <see cref="CADability.GeoObject.ISurfaceImpl.FixedV (double, double, double)"/>
 /// </summary>
 /// <param name="u"></param>
 /// <param name="umin"></param>
 /// <param name="umax"></param>
 /// <returns></returns>
 public override ICurve FixedV(double u, double umin, double umax)
 {
     if (umin > umax)
     {
         FixedCurve fc = new FixedCurve(this, u, umax, umin, false);
         fc.Reverse();
         return(fc);
     }
     else
     {
         return(new FixedCurve(this, u, umin, umax, false));
     }
 }
Beispiel #2
0
 /// <summary>
 /// Overrides <see cref="CADability.GeoObject.ISurfaceImpl.FixedU (double, double, double)"/>
 /// </summary>
 /// <param name="u"></param>
 /// <param name="vmin"></param>
 /// <param name="vmax"></param>
 /// <returns></returns>
 public override ICurve FixedU(double u, double vmin, double vmax)
 {
     if (vmin > vmax)
     {
         FixedCurve fc = new FixedCurve(this, u, vmax, vmin, true);
         fc.Reverse();
         return(fc);
     }
     else
     {
         return(new FixedCurve(this, u, vmin, vmax, true));
     }
 }