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

2 | -- Created: Tue Nov 10 11:12:59 1992 |

3 | -- Author: Jacques GOUSSARD |

4 | -- <jag@sdsun1> |

5 | ---Copyright: Matra Datavision 1992 |

6 | |

7 | |

8 | class PathPoint from IntSurf |

9 | |

10 | ---Purpose: |

11 | |

12 | uses Pnt from gp, |

13 | Vec from gp, |

14 | Dir2d from gp, |

15 | HSequenceOfXY from TColgp |

16 | |

17 | raises UndefinedDerivative from StdFail, |

18 | OutOfRange from Standard |

19 | |

20 | is |

21 | |

22 | Create |

23 | |

24 | returns PathPoint from IntSurf; |

25 | |

26 | |

27 | Create (P: Pnt from gp; U,V: Real from Standard) |

28 | |

29 | returns PathPoint from IntSurf; |

30 | |

31 | |

32 | SetValue (me: in out; P: Pnt from gp; U,V: Real from Standard) |

33 | |

34 | is static; |

35 | |

36 | |

37 | AddUV(me: in out; U,V : Real from Standard) |

38 | |

39 | ---C++: inline |

40 | |

41 | is static; |

42 | |

43 | |

44 | SetDirections(me: in out; V: Vec from gp; D: Dir2d from gp) |

45 | |

46 | ---C++: inline |

47 | |

48 | is static; |

49 | |

50 | |

51 | SetTangency(me: in out; Tang: Boolean from Standard) |

52 | |

53 | ---C++: inline |

54 | |

55 | is static; |

56 | |

57 | |

58 | |

59 | SetPassing(me: in out; Pass: Boolean from Standard) |

60 | |

61 | ---C++: inline |

62 | |

63 | is static; |

64 | |

65 | |

66 | Value(me) |

67 | |

68 | returns Pnt from gp |

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

70 | ---C++: inline |

71 | |

72 | is static; |

73 | |

74 | |

75 | Value2d(me; U,V: out Real from Standard) |

76 | |

77 | ---C++: inline |

78 | is static; |

79 | |

80 | |

81 | IsPassingPnt(me) |

82 | |

83 | returns Boolean from Standard |

84 | ---C++: inline |

85 | |

86 | is static; |

87 | |

88 | |

89 | IsTangent(me) |

90 | |

91 | returns Boolean from Standard |

92 | ---C++: inline |

93 | |

94 | is static; |

95 | |

96 | |

97 | Direction3d(me) |

98 | |

99 | returns Vec from gp |

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

101 | ---C++: inline |

102 | |

103 | raises UndefinedDerivative from StdFail |

104 | is static; |

105 | |

106 | |

107 | Direction2d(me) |

108 | |

109 | returns Dir2d from gp |

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

111 | ---C++: inline |

112 | |

113 | raises UndefinedDerivative from StdFail |

114 | is static; |

115 | |

116 | |

117 | Multiplicity(me) |

118 | |

119 | returns Integer from Standard |

120 | ---C++: inline |

121 | |

122 | is static; |

123 | |

124 | |

125 | Parameters(me; Index: Integer from Standard; |

126 | U,V: out Real from Standard) |

127 | |

128 | ---C++: inline |

129 | |

130 | raises OutOfRange from Standard |

131 | is static; |

132 | |

133 | |

134 | fields |

135 | |

136 | pt : Pnt from gp; |

137 | ispass : Boolean from Standard; |

138 | istgt : Boolean from Standard; |

139 | vectg : Vec from gp; |

140 | dirtg : Dir2d from gp; |

141 | sequv : HSequenceOfXY from TColgp; |

142 | |

143 | end PathPoint; |