1 -- Created on: 1994-11-14
2 -- Created by: Bruno DUMORTIER
3 -- Copyright (c) 1994-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.
22 private class MultiLineTool from BRepFill
24 ---Purpose: private class used to instantiate the continuous
25 -- approximations routines.
32 Array1OfPnt from TColgp,
33 Array1OfPnt2d from TColgp,
34 Array1OfVec from TColgp,
35 Array1OfVec2d from TColgp,
36 MultiLine from BRepFill
40 FirstParameter(myclass; ML: MultiLine from BRepFill)
41 ---Purpose: returns the first parameter of the Line.
42 returns Real from Standard;
45 LastParameter(myclass; ML: MultiLine from BRepFill)
46 ---Purpose: returns the last parameter of the Line.
47 returns Real from Standard;
50 NbP2d(myclass; ML: MultiLine from BRepFill)
51 ---Purpose: Returns the number of 2d points of a MLine
52 returns Integer from Standard;
55 NbP3d(myclass; ML: MultiLine from BRepFill)
56 ---Purpose: Returns the number of 3d points of a MLine.
57 returns Integer from Standard;
60 Value(myclass; ML : MultiLine from BRepFill;
61 U : Real from Standard;
62 tabPt: out Array1OfPnt from TColgp);
63 ---Purpose: returns the 3d points of the multipoint <MPointIndex>
64 -- when only 3d points exist.
67 Value(myclass; ML : MultiLine from BRepFill;
68 U : Real from Standard;
69 tabPt2d: out Array1OfPnt2d from TColgp);
70 ---Purpose: returns the 2d points of the multipoint <MPointIndex>
71 -- when only 2d points exist.
74 Value(myclass; ML : MultiLine from BRepFill;
75 U : Real from Standard;
76 tabPt : out Array1OfPnt from TColgp;
77 tabPt2d: out Array1OfPnt2d from TColgp);
78 ---Purpose: returns the 3d and 2d points of the multipoint
82 D1(myclass; ML : MultiLine from BRepFill;
83 U : Real from Standard;
84 tabV: out Array1OfVec from TColgp)
85 returns Boolean from Standard;
86 ---Purpose: returns the 3d derivative values of the multipoint
87 -- <MPointIndex> when only 3d points exist.
88 -- returns False if the derivative cannot be computed.
91 D1(myclass; ML : MultiLine from BRepFill;
92 U : Real from Standard;
93 tabV2d: out Array1OfVec2d from TColgp)
94 returns Boolean from Standard;
95 ---Purpose: returns the 2d derivative values of the multipoint
96 -- <MPointIndex> only when 2d points exist.
97 -- returns False if the derivative cannot be computed.
100 D1(myclass; ML : MultiLine from BRepFill;
101 U : Real from Standard;
102 tabV : out Array1OfVec from TColgp;
103 tabV2d: out Array1OfVec2d from TColgp)
104 returns Boolean from Standard;
105 ---Purpose: returns the 3d and 2d derivative values of the
106 -- multipoint <MPointIndex>.
107 -- returns False if the derivative cannot be computed.