source: trunk/source/geometry/solids/BREPS/include/G4Conic.hh @ 1202

Last change on this file since 1202 was 1058, checked in by garnier, 15 years ago

file release beta

File size: 3.1 KB
Line 
1//
2// ********************************************************************
3// * License and Disclaimer                                           *
4// *                                                                  *
5// * The  Geant4 software  is  copyright of the Copyright Holders  of *
6// * the Geant4 Collaboration.  It is provided  under  the terms  and *
7// * conditions of the Geant4 Software License,  included in the file *
8// * LICENSE and available at  http://cern.ch/geant4/license .  These *
9// * include a list of copyright holders.                             *
10// *                                                                  *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work  make  any representation or  warranty, express or implied, *
14// * regarding  this  software system or assume any liability for its *
15// * use.  Please see the license in the file  LICENSE  and URL above *
16// * for the full disclaimer and the limitation of liability.         *
17// *                                                                  *
18// * This  code  implementation is the result of  the  scientific and *
19// * technical work of the GEANT4 collaboration.                      *
20// * By using,  copying,  modifying or  distributing the software (or *
21// * any work based  on the software)  you  agree  to acknowledge its *
22// * use  in  resulting  scientific  publications,  and indicate your *
23// * acceptance of all terms of the Geant4 Software license.          *
24// ********************************************************************
25//
26//
27// $Id: G4Conic.hh,v 1.7 2006/06/29 18:38:39 gunter Exp $
28// GEANT4 tag $Name: geant4-09-02-ref-02 $
29//
30// ----------------------------------------------------------------------
31// Class G4Conic
32//
33// Class description:
34//
35// Definition of a generic conical curve.
36
37// Authors: J.Sulkimo, P.Urban.
38// Revisions by: L.Broglia, G.Cosmo.
39// ----------------------------------------------------------------------
40#ifndef __CONIC_H
41#define __CONIC_H
42
43#include "G4Curve.hh"
44#include "G4Axis2Placement3D.hh"
45
46class G4Conic : public G4Curve
47{
48
49public:  // with description
50 
51  G4Conic();
52  virtual ~G4Conic();
53    // Constructor & destructor.
54
55  G4Conic(const G4Conic& right);
56  G4Conic& operator=(const G4Conic& right);
57    // Copy contructor and assignment operator.
58
59  inline const G4Axis2Placement3D* GetPosition() const;
60  inline G4double GetPShift() const;
61  inline void SetPShift(G4double pShift0); 
62    // Get/Set geometric data.
63
64public:  // without description
65
66  //inline G4Placement GetPosition() {return Position;}
67  //virtual const char *Name(){return "G4ConicalCurve";}
68
69protected:
70
71  //void ProjectCurve(const G4Plane&, const G4Plane&);
72  //G4int HitPartOfCurve(G4double, G4double, const G4Point2d&);
73  //G4Placement Position;
74
75  G4Axis2Placement3D position;
76    // Geometric data.
77
78  G4double pShift;
79    // pShift must be added/subtracted from the parameter.
80    // No STEP I/O if not 0!!!
81    // Set by Project members.
82
83};
84
85#include "G4Conic.icc"
86
87#endif
Note: See TracBrowser for help on using the repository browser.