+++ /dev/null
--- Created on: 1998-01-22
--- Created by: Sergey ZARITCHNY
--- Copyright (c) 1998-1999 Matra Datavision
--- Copyright (c) 1999-2014 OPEN CASCADE SAS
---
--- This file is part of Open CASCADE Technology software library.
---
--- This library is free software; you can redistribute it and/or modify it under
--- the terms of the GNU Lesser General Public License version 2.1 as published
--- by the Free Software Foundation, with special exception defined in the file
--- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
--- distribution for complete text of the license and disclaimer of any warranty.
---
--- Alternatively, this file may be used under the terms of Open CASCADE
--- commercial license or contractual agreement.
-
-deferred class EllipseRadiusDimension from AIS inherits Relation from AIS
-
- ---Purpose:
- -- Computes geometry ( basis curve and plane of dimension)
- -- for input shape aShape from TopoDS
- -- Root class for MinRadiusDimension and MaxRadiusDimension
-uses
- Shape from TopoDS,
- Elips from gp,
- Pnt from gp,
- Pln from gp,
- Curve from Geom,
- OffsetCurve from Geom,
- Ellipse from Geom,
- Plane from Geom,
- Surface from Geom,
- ExtendedString from TCollection,
- KindOfSurface from AIS,
- KindOfDimension from AIS
-
-is
- Initialize(aShape : Shape from TopoDS;
- aText : ExtendedString from TCollection);
-
- -- Ellipse radius dimension of a Shape which can be Edge
- -- or Face (planar or cylindrical(surface of extrusion or
- -- surface of offset))
-
-
-
- KindOfDimension(me) returns KindOfDimension from AIS
- is redefined;
-
- IsMovable(me) returns Boolean from Standard
- is redefined;
-
-
---
--- Computation private methods
---
-
- ComputeGeometry( me: mutable ) ;
--- is private;
-
- ComputeFaceGeometry(me: mutable)
- is private;
-
- ComputeCylFaceGeometry(me: mutable;
- aSurfType : KindOfSurface from AIS;
- aSurf : Surface from Geom;
- Offset : Real from Standard )
- is private;
-
- ComputePlanarFaceGeometry(me: mutable)
- is private;
-
- ComputeEdgeGeometry(me: mutable)
- is private;
-
-fields
-
- myEllipse : Elips from gp is protected;
- myFirstPar : Real from Standard is protected;
- myLastPar : Real from Standard is protected;
- myIsAnArc : Boolean from Standard is protected;
- myOffsetCurve : OffsetCurve from Geom is protected;
- myOffset : Real from Standard is protected;
- myIsOffset : Boolean from Standard is protected;
-
-end EllipseRadiusDimension;