1 -- File: AIS_EllipseRadiusDimension.cdl
2 -- Created: Thu Jan 22 09:01:38 1998
3 -- Author: Sergey ZARITCHNY
4 -- <szy@androx.nnov.matra-dtv.fr>
5 ---Copyright: Matra Datavision 1998
8 deferred class EllipseRadiusDimension from AIS inherits Relation from AIS
11 -- Computes geometry ( basis curve and plane of dimension)
12 -- for input shape aShape from TopoDS
13 -- Root class for MinRadiusDimension and MaxRadiusDimension
20 OffsetCurve from Geom,
24 ExtendedString from TCollection,
25 KindOfSurface from AIS,
26 KindOfDimension from AIS
29 Initialize(aShape : Shape from TopoDS;
30 aText : ExtendedString from TCollection);
32 -- Ellipse radius dimension of a Shape which can be Edge
33 -- or Face (planar or cylindrical(surface of extrusion or
34 -- surface of offset))
38 KindOfDimension(me) returns KindOfDimension from AIS
41 IsMovable(me) returns Boolean from Standard
46 -- Computation private methods
49 ComputeGeometry( me: mutable ) ;
52 ComputeFaceGeometry(me: mutable)
55 ComputeCylFaceGeometry(me: mutable;
56 aSurfType : KindOfSurface from AIS;
57 aSurf : Surface from Geom;
58 Offset : Real from Standard )
61 ComputePlanarFaceGeometry(me: mutable)
64 ComputeEdgeGeometry(me: mutable)
69 myEllipse : Elips from gp is protected;
70 myFirstPar : Real from Standard is protected;
71 myLastPar : Real from Standard is protected;
72 myIsAnArc : Boolean from Standard is protected;
73 myOffsetCurve : OffsetCurve from Geom is protected;
74 myOffset : Real from Standard is protected;
75 myIsOffset : Boolean from Standard is protected;
77 end EllipseRadiusDimension;