1 -- Created on: 1991-06-18
2 -- Created by: Didier PIFFAULT
3 -- Copyright (c) 1991-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
23 class SectionPoint from Intf
25 ---Purpose: Describes an intersection point between polygons and
28 uses Boolean from Standard,
29 Integer from Standard,
40 returns Pnt from gp is static;
41 ---Purpose: Returns the location of the SectionPoint.
42 ---C++: return const &
46 returns Real from Standard is static;
47 ---Purpose: Returns the cumulated Parameter of the SectionPoint on the
53 returns Real from Standard is static;
54 ---Purpose: Returns the cumulated Parameter of the section point on the
60 returns PIType is static;
61 ---Purpose: Returns the type of the section point on the first element.
66 returns PIType is static;
67 ---Purpose: Returns the type of the section point on the second
76 Param : out Real) is static;
80 Param : out Real) is static;
81 ---Purpose: Gives the datas about the first argument of the
90 Param : out Real) is static;
94 Param : out Real) is static;
95 ---Purpose: Gives the datas about the second argument of the
100 returns Real is static;
101 ---Purpose: Gives the incidence at this section point. The incidence
102 -- between the two triangles is given by the cosine. The best
103 -- incidence is 0. (PI/2). The worst is 1. (null angle).
107 Other : in SectionPoint from Intf) -- in like me);
108 returns Boolean is static;
109 ---Purpose: Returns True if the two SectionPoint have the same logical
112 ---C++: alias operator==
116 Other : in SectionPoint from Intf) -- in like me);
117 returns Boolean is static;
118 ---Purpose: Returns True if the two SectionPoints are on the same edge
119 -- of the first or the second element.
127 Create (Where : in Pnt from gp;
137 returns SectionPoint;
138 ---Purpose: Builds a SectionPoint with the respective dimensions
139 -- (vertex edge or face) of the concerned arguments and their
140 -- addresses in the Topological structure.
142 Create (Where : in Pnt2d from gp;
150 returns SectionPoint;
151 ---Purpose: Builds a SectionPoint 2d with the respective dimensions
152 -- (vertex or edge) of the concerned arguments and their
153 -- addresses in the Topological structure.
157 Other : in out SectionPoint from Intf)
160 ---Purpose: Merges two SectionPoints.
166 Indent : in Integer) is static;
171 DimenObje : PIType from Intf;
172 IndexO1 : Integer from Standard;
173 IndexO2 : Integer from Standard;
174 ParamObje : Real from Standard;
175 DimenTool : PIType from Intf;
176 IndexT1 : Integer from Standard;
177 IndexT2 : Integer from Standard;
178 ParamTool : Real from Standard;
179 Incide : Real from Standard;