2e9ab11186fef14f8738270427ffa621637141e9
[occt.git] / src / Geom / Geom.cdl
1 -- Created on: 1993-03-09
2 -- Created by: JCV
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
5 --
6 -- This file is part of Open CASCADE Technology software library.
7 --
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
13 --
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
16
17 package Geom 
18
19         --- Purpose :
20         --  This package contains the definition of the geometric objects 
21         --  such as point, vector, axis placement, curves, surfaces and the
22         --  description of the geometric transformations available for these
23         --  objects.
24         --  All these entities are defined in 3D space.
25         --  This package gives the possibility :
26         --     . to create geometric objects,
27         --     . to have information about them,
28         --     . to modify these objects.
29         --  This package uses the services of the package gp (Geometric
30         --  processor) which describes non-persistent objects for algebraic
31         --  calculus and basic analytic geometry. The purpose of this package
32         --  is to create persistent geometric objects and to read geometric
33         --  information about these objects. Complexes geometric algorithmes
34         --  are not described in this package.     At construction time,
35         --  elementary verifications are done to verify that the objects
36         --  are coherents, but some verifications which require complex
37         --  algorithmes (for example to check that a curve has not null
38         --  length or does not self-intersect) must be done before the 
39         --  construction of the geometric objects. 
40
41 uses  
42     MMgt,  
43     Standard,
44     GeomAbs, 
45     TCollection,
46     TColStd, 
47     gp, 
48     TColgp 
49
50 --, Plate
51
52 is 
53
54
55
56         ---Group:  Exceptions 
57
58 exception UndefinedDerivative inherits DomainError  from  Standard;
59 exception UndefinedValue inherits DomainError from  Standard;
60
61     class SequenceOfBSplineSurface 
62         instantiates Sequence from TCollection (BSplineSurface from Geom);
63     class HSequenceOfBSplineSurface 
64         instantiates HSequence from TCollection (BSplineSurface from Geom,
65                                 SequenceOfBSplineSurface from Geom);
66 --    class SequenceOfBoundedSurface 
67 --      instantiates Sequence from TCollection (BoundedSurface from Geom); 
68
69     class SequenceOfSurface 
70         instantiates Sequence from TCollection (Surface from Geom);
71         
72     class HSequenceOfSurface 
73         instantiates HSequence from TCollection (Surface from Geom,
74                                 SequenceOfSurface from Geom);
75                                 
76 --    class HSequenceOfBoundedSurface 
77 --      instantiates HSequence from TCollection (BoundedSurface from Geom,
78 --                              SequenceOfBoundedSurface from Geom);
79 --  class SequenceNodeOfSequenceOfSurface
80 --      instantiates SeqNode from TCollection (Surface from Geom);
81 --  class HSequenceOfSurface 
82 --      instantiates HSequence from TCollection (Surface from Geom,
83 --                              SequenceOfSurface from Geom);
84
85         ---Group: Geometric entities 
86
87   class Transformation;
88
89
90   deferred class Geometry;
91
92
93      deferred class Point;
94               class  CartesianPoint;
95
96
97      deferred class Vector;
98               class Direction;
99               class VectorWithMagnitude;
100      
101
102      deferred class AxisPlacement;
103               class Axis1Placement;
104               class Axis2Placement;
105
106
107      deferred class Curve;
108
109               class Line;
110
111               deferred class Conic;
112                        class Circle;
113                        class Ellipse;
114                        class Hyperbola;
115                        class Parabola;
116
117               deferred class BoundedCurve;
118                        class BezierCurve;
119                        class BSplineCurve;
120                        class TrimmedCurve;
121
122               class  OffsetCurve;
123
124
125      deferred class Surface;
126
127               deferred class ElementarySurface;
128                        class Plane;
129                        class ConicalSurface;
130                        class CylindricalSurface;
131                        class SphericalSurface;
132                        class ToroidalSurface;
133
134               deferred class SweptSurface;
135                        class SurfaceOfLinearExtrusion;
136                        class SurfaceOfRevolution;
137
138               deferred class BoundedSurface;
139                        class BezierSurface;
140                        class BSplineSurface;
141                        class RectangularTrimmedSurface;
142                
143               
144               class OffsetSurface;
145               
146 private       class OsculatingSurface;
147
148 --            class PlateSurface ;
149 end Geom;
150
151
152
153