0026390: IntTools_Context should provide possibility to set tolerance used by PointOn...
[occt.git] / src / IntTools / IntTools_PntOn2Faces.cdl
CommitLineData
b311480e 1-- Created on: 2001-12-13
2-- Created by: Peter KURNEV
973c2be1 3-- Copyright (c) 2001-2014 OPEN CASCADE SAS
b311480e 4--
973c2be1 5-- This file is part of Open CASCADE Technology software library.
b311480e 6--
d5f74e42 7-- This library is free software; you can redistribute it and/or modify it under
8-- the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 9-- by the Free Software Foundation, with special exception defined in the file
10-- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11-- distribution for complete text of the license and disclaimer of any warranty.
b311480e 12--
973c2be1 13-- Alternatively, this file may be used under the terms of Open CASCADE
14-- commercial license or contractual agreement.
7fd59977 15
16class PntOn2Faces from IntTools
17
18 ---Purpose: Contains two points PntOnFace from IntTools and a flag
19
20uses
21 PntOnFace from IntTools
22---raises
23
24is
25 Create
26 returns PntOn2Faces from IntTools;
27 ---Purpose:
28 --- Empty constructor
29 ---
30
31 Create(aP1: PntOnFace from IntTools;
32 aP2: PntOnFace from IntTools);
33 ---Purpose:
34 --- Initializes me by two points aP1 and aP2
35 ---
36
37 SetP1 (me:out;
38 aP1: PntOnFace from IntTools);
39 ---Purpose:
40 --- Modifier
41 ---
42
43 SetP2 (me:out;
44 aP2: PntOnFace from IntTools);
45 ---Purpose:
46 --- Modifier
47 ---
48
49 SetValid(me:out;
50 bF : Boolean from Standard);
51 ---Purpose:
52 --- Modifier
53 ---
54
55 P1(me)
56 returns PntOnFace from IntTools;
57 ---C++: return const &
58 ---Purpose:
59 --- Selector
60 ---
61
62 P2(me)
63 returns PntOnFace from IntTools;
64 ---C++: return const &
65 ---Purpose:
66 --- Selector
67 ---
68
69 IsValid(me)
70 returns Boolean from Standard;
71 ---Purpose:
72 --- Selector
73 ---
74
75fields
76
77 myIsValid : Boolean from Standard;
78 myPnt1 : PntOnFace from IntTools;
79 myPnt2 : PntOnFace from IntTools;
80
81
82end PntOn2Faces;