7fd59977 |
1 | -- File: BRepFill_ApproxSeewing.cdl |

2 | -- Created: Thu Sep 21 18:15:15 1995 |

3 | -- Author: Bruno DUMORTIER |

4 | -- <dub@fuegox> |

5 | ---Copyright: Matra Datavision 1995 |

6 | |

7 | |

8 | private class ApproxSeewing from BRepFill |

9 | |

10 | ---Purpose: Evaluate the 3dCurve and the PCurves described in |

11 | -- a MultiLine from BRepFill. The parametrization of |

12 | -- those curves is not imposed by the Bissectrice. |

13 | -- The parametrization is given approximatively by |

14 | -- the abscissa of the curve3d. |

15 | |

16 | uses |

17 | |

18 | MultiLine from BRepFill, |

19 | Curve from Geom, |

20 | Curve from Geom2d |

21 | |

22 | raises |

23 | |

24 | NotDone from StdFail |

25 | |

26 | is |

27 | Create returns ApproxSeewing from BRepFill; |

28 | |

29 | Create( ML : MultiLine from BRepFill) |

30 | returns ApproxSeewing from BRepFill; |

31 | |

32 | Perform(me : in out; |

33 | ML : MultiLine from BRepFill) |

34 | is static; |

35 | |

36 | IsDone(me) |

37 | returns Boolean from Standard |

38 | is static; |

39 | |

40 | Curve(me) |

41 | ---Purpose: returns the approximation of the 3d Curve |

42 | ---C++: return const & |

43 | returns Curve from Geom |

44 | raises |

45 | NotDone from StdFail |

46 | is static; |

47 | |

48 | CurveOnF1(me) |

49 | ---Purpose: returns the approximation of the PCurve on the |

50 | -- first face of the MultiLine |

51 | ---C++: return const & |

52 | returns Curve from Geom2d |

53 | raises |

54 | NotDone from StdFail |

55 | is static; |

56 | |

57 | CurveOnF2(me) |

58 | ---Purpose: returns the approximation of the PCurve on the |

59 | -- first face of the MultiLine |

60 | ---C++: return const & |

61 | returns Curve from Geom2d |

62 | raises |

63 | NotDone from StdFail |

64 | is static; |

65 | |

66 | fields |

67 | myML : MultiLine from BRepFill; |

68 | myIsDone : Boolean from Standard; |

69 | myCurve : Curve from Geom; |

70 | myPCurve1 : Curve from Geom2d; |

71 | myPCurve2 : Curve from Geom2d; |

72 | |

73 | end ApproxSeewing; |