summaryrefslogtreecommitdiff
path: root/src/PGeom2d/PGeom2d_Parabola.cxx
blob: f0e1a91d40c031c1c21d8d9cd7874d656c5b9c96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// File:	PGeom2d_Parabola.cxx
// Created:	Thu Mar  4 10:08:42 1993
// Author:	Philippe DAUTRY
//		<fid@sdsun2>
// Copyright:	Matra Datavision 1993


#include <PGeom2d_Parabola.ixx>

//=======================================================================
//function : PGeom2d_Parabola
//purpose  : 
//=======================================================================

PGeom2d_Parabola::PGeom2d_Parabola()
{}


//=======================================================================
//function : PGeom2d_Parabola
//purpose  : 
//=======================================================================

PGeom2d_Parabola::PGeom2d_Parabola
  (const gp_Ax22d& aPosition,
   const Standard_Real aFocalLength) :
  PGeom2d_Conic(aPosition),
  focalLength(aFocalLength)
{}


//=======================================================================
//function : FocalLength
//purpose  : 
//=======================================================================

void  PGeom2d_Parabola::FocalLength(const Standard_Real aFocalLength)
{ focalLength = aFocalLength; }


//=======================================================================
//function : FocalLength
//purpose  : 
//=======================================================================

Standard_Real  PGeom2d_Parabola::FocalLength() const 
{ return focalLength; }