2 -- Created: Tue Jan 9 16:39:53 1996
3 -- Author: Denis PASCAL
5 ---Copyright: Matra Datavision 1996
10 ---Purpose: This package provides Drawable Dimensions.
12 -- The classes PlanarDimension and subclasses provide
13 -- services to build drawable dimensions between
14 -- point line and circle in a given 3d plane.
16 -- The classes Dimension and subclasses provide
17 -- services to build drawable dimensions between
18 -- plane and cylindrical surfaces.
21 uses Draw, gp, TColgp, TopoDS, TCollection
27 deferred class Dimension;
29 ---Purpose: Dimension between planes and cylinder
30 -- =====================================
37 ---Purpose: Dimensions between point, line and circle ON a plane
38 -- ====================================================
40 deferred class PlanarDimension;
50 DrawShapeName (ashape : Shape from TopoDS; aname : CString);
52 AllCommands (I : in out Interpretor from Draw);
54 PlanarDimensionCommands (I : in out Interpretor from Draw);
59 Nearest (aShape : Shape from TopoDS; apoint : Pnt from gp)
62 Lin (e : Edge from TopoDS; l : in out Lin from gp;
63 infinite : in out Boolean from Standard;
64 first, last : in out Real from Standard)
65 ---Purpose: false if <e> is not a linear edge
66 returns Boolean from Standard;
68 Circ (e : Edge from TopoDS; l : in out Circ from gp; first, last : in out Real from Standard)
69 ---Purpose: false if <e> is not a circular edge
70 returns Boolean from Standard;
72 Pln (f : Face from TopoDS; p : in out Pln from gp)
73 ---Purpose: false if <f> is not a planar face
74 returns Boolean from Standard;