7fd59977 |
1 | -- File: Geom2d.cdl |
2 | -- Created: Wed Mar 24 17:29:38 1993 |
3 | -- Author: JCV |
4 | -- <fid@sdsun2> |
5 | -- Copyright: Matra Datavision 1993 |
6 | |
7 | ---Copyright: Matra Datavision 1991 |
8 | |
9 | |
10 | package Geom2d |
11 | |
12 | --- Purpose : |
13 | -- This package contains the definition of the geometric objects |
14 | -- such as point, vector, axis placement, curves and the |
15 | -- description of the geometric transformations available |
16 | -- for these objects. |
17 | -- All these entities are defined in 2D space. |
18 | -- This package gives the possibility : |
19 | -- . to create geometric objects, |
20 | -- . to have information about them, |
21 | -- . to modify these objects. |
22 | -- This package uses the services of the package gp (Geometric |
23 | -- processor) which describes non-persistent objects for algebraic |
24 | -- calculus and basic analytic geometry. The purpose of this package |
25 | -- is to create persistent geometric objects and to read geometric |
26 | -- information about these objects. Complexes geometric algorithmes |
27 | -- are not described in this package. At construction time, |
28 | -- elementary verifications are done to verify that the objects |
29 | -- are coherents, but some verifications which require complex |
30 | -- algorithmes (for example to check that a curve has not null |
31 | -- length or does not self-intersect) must be done before the |
32 | -- construction of the geometric objects. |
33 | |
34 | |
35 | uses MMgt, GeomAbs, TColStd, gp, TColgp |
36 | |
37 | is |
38 | |
39 | exception UndefinedDerivative inherits DomainError from Standard; |
40 | exception UndefinedValue inherits DomainError from Standard ; |
41 | |
42 | |
43 | |
44 | class Transformation; |
45 | |
46 | |
47 | deferred class Geometry; |
48 | |
49 | |
50 | deferred class Point; |
51 | class CartesianPoint; |
52 | |
53 | |
54 | deferred class Vector; |
55 | class Direction; |
56 | class VectorWithMagnitude; |
57 | |
58 | |
59 | class AxisPlacement; |
60 | |
61 | |
62 | deferred class Curve; |
63 | |
64 | class Line; |
65 | |
66 | deferred class Conic; |
67 | class Circle; |
68 | class Ellipse; |
69 | class Hyperbola; |
70 | class Parabola; |
71 | |
72 | deferred class BoundedCurve; |
73 | class BezierCurve; |
74 | class BSplineCurve; |
75 | class TrimmedCurve; |
76 | |
77 | class OffsetCurve; |
78 | |
79 | |
80 | end Geom2d; |
81 | |
82 | |
83 | |
84 | |