Commit | Line | Data |
---|---|---|

0d88155b O |
1 | -- File: BRepMesh_Vertex.cdl |

2 | -- Created: Wed Sep 22 18:04:35 1993 | |

3 | -- Author: Didier PIFFAULT | |

4 | -- <dpf@zerox> | |

5 | ---Copyright: Matra Datavision 1993 | |

7fd59977 | 6 | |

7 | ||

8 | class Vertex from BRepMesh | |

9 | ||

0d88155b | 10 | ---Purpose: |

7fd59977 | 11 | |

12 | ||

13 | uses Boolean from Standard, | |

0d88155b O |
14 | Integer from Standard, |

15 | Real from Standard, | |

16 | XY from gp, | |

17 | DegreeOfFreedom from BRepMesh | |

18 | ||

19 | ||

20 | is Create returns Vertex from BRepMesh; | |

21 | ||

22 | Create (UV : in XY from gp; | |

23 | Locat3d : in Integer from Standard; | |

24 | Move : in DegreeOfFreedom from BRepMesh) | |

25 | returns Vertex from BRepMesh; | |

26 | ||

27 | ||

28 | Create (U, V : Real from Standard; | |

29 | Move : in DegreeOfFreedom from BRepMesh) | |

30 | returns Vertex from BRepMesh; | |

31 | ||

32 | ||

33 | Initialize (me : in out; | |

34 | UV : in XY from gp; | |

35 | Locat3d : in Integer from Standard; | |

36 | Move : in DegreeOfFreedom from BRepMesh) | |

37 | is static; | |

38 | ||

39 | ||

40 | Coord (me) | |

41 | returns XY from gp | |

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

43 | ---C++: inline | |

44 | is static; | |

45 | ||

46 | ||

47 | Location3d (me) | |

48 | returns Integer from Standard | |

49 | ---C++: inline | |

50 | is static; | |

51 | ||

52 | ||

53 | Movability (me) | |

54 | returns DegreeOfFreedom from BRepMesh | |

55 | ---C++: inline | |

56 | is static; | |

57 | ||

58 | SetMovability (me : in out; | |

59 | Move : DegreeOfFreedom from BRepMesh) | |

60 | is static; | |

61 | ||

62 | ||

63 | HashCode (me; | |

64 | Upper : Integer from Standard) | |

65 | returns Integer from Standard | |

66 | ---C++: function call | |

67 | is static; | |

68 | ||

69 | ||

70 | IsEqual (me; Other : Vertex from BRepMesh) | |

71 | returns Boolean from Standard | |

72 | ---C++: alias operator == | |

73 | is static; | |

74 | ||

75 | ||

76 | fields myUV : XY from gp; | |

77 | myLocation : Integer from Standard; | |

78 | myMovability : DegreeOfFreedom from BRepMesh; | |

7fd59977 | 79 | |

80 | end Vertex; |