0024157: Parallelization of assembly part of BO
[occt.git] / src / PGeom / PGeom_Hyperbola.cdl
CommitLineData
b311480e 1-- Created on: 1993-02-22
2-- Created by: Philippe DAUTRY
3-- Copyright (c) 1993-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
6-- The content of this file is subject to the Open CASCADE Technology Public
7-- License Version 6.5 (the "License"). You may not use the content of this file
8-- except in compliance with the License. Please obtain a copy of the License
9-- at http://www.opencascade.org and read it completely before using this file.
10--
11-- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12-- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
13--
14-- The Original Code and all software distributed under the License is
15-- distributed on an "AS IS" basis, without warranty of any kind, and the
16-- Initial Developer hereby disclaims all such warranties, including without
17-- limitation, any warranties of merchantability, fitness for a particular
18-- purpose or non-infringement. Please see the License for the specific terms
19-- and conditions governing the rights and limitations under the License.
20
7fd59977 21
22
23class Hyperbola from PGeom inherits Conic from PGeom
24
25 ---Purpose :Defines the main branch of an hyperbola.
26 --
27 ---See Also : Hyperbola from Geom.
28
29uses Ax2 from gp
30
31is
32
33
34 Create returns mutable Hyperbola from PGeom;
35 ---Purpose :Creates an Hyperbola with default values.
36 ---Level: Internal
37
38
39 Create (aPosition : Ax2 from gp;
40 aMajorRadius, aMinorRadius : Real from Standard)
41 returns mutable Hyperbola from PGeom;
42 ---Purpose : Creates an Hyperbola with <aPosition>,
43 -- <aMajorRadius> and <aMinorRadius> as field values.
44 -- The major radius of the hyperbola is on the XAxis
45 -- and the minor radius is on the YAxis of the
46 -- hyperbola.
47 ---Level: Internal
48
49
50 MajorRadius (me : mutable; aMajorRadius : Real from Standard);
51 ---Purpose: Set the value of the field majorRadius with <aMajorRadius>.
52 ---Level: Internal
53
54
55 MajorRadius (me) returns Real from Standard;
56 ---Purpose: Returns the value of the field majorRadius.
57 ---Level: Internal
58
59
60 MinorRadius (me : mutable; aMinorRadius : Real from Standard);
61 ---Purpose: Set the value of the field minorRadius with <aMinorRadius>.
62 ---Level: Internal
63
64
65 MinorRadius (me) returns Real from Standard;
66 ---Purpose: Returns the value of the field minorRadius.
67 ---Level: Internal
68
69
70fields
71
72 majorRadius : Real from Standard;
73 minorRadius : Real from Standard;
74
75end;
76