Geant4
9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4Conic.hh
Go to the documentation of this file.
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$
28
//
29
// ----------------------------------------------------------------------
30
// Class G4Conic
31
//
32
// Class description:
33
//
34
// Definition of a generic conical curve.
35
36
// Authors: J.Sulkimo, P.Urban.
37
// Revisions by: L.Broglia, G.Cosmo.
38
// ----------------------------------------------------------------------
39
#ifndef __CONIC_H
40
#define __CONIC_H
41
42
#include "
G4Curve.hh
"
43
#include "
G4Axis2Placement3D.hh
"
44
45
class
G4Conic
:
public
G4Curve
46
{
47
48
public
:
// with description
49
50
G4Conic
();
51
virtual
~G4Conic
();
52
// Constructor & destructor.
53
54
G4Conic
(
const
G4Conic
& right);
55
G4Conic
&
operator=
(
const
G4Conic
& right);
56
// Copy contructor and assignment operator.
57
58
inline
const
G4Axis2Placement3D
*
GetPosition
()
const
;
59
inline
G4double
GetPShift
()
const
;
60
inline
void
SetPShift
(
G4double
pShift0);
61
// Get/Set geometric data.
62
63
public
:
// without description
64
65
//inline G4Placement GetPosition() {return Position;}
66
//virtual const char *Name(){return "G4ConicalCurve";}
67
68
protected
:
69
70
//void ProjectCurve(const G4Plane&, const G4Plane&);
71
//G4int HitPartOfCurve(G4double, G4double, const G4Point2d&);
72
//G4Placement Position;
73
74
G4Axis2Placement3D
position
;
75
// Geometric data.
76
77
G4double
pShift
;
78
// pShift must be added/subtracted from the parameter.
79
// No STEP I/O if not 0!!!
80
// Set by Project members.
81
82
};
83
84
#include "G4Conic.icc"
85
86
#endif
G4Axis2Placement3D.hh
G4Curve.hh
G4double
double G4double
Definition:
G4Types.hh:64
G4Axis2Placement3D
Definition:
G4Axis2Placement3D.hh:51
G4Conic
Definition:
G4Conic.hh:46
G4Conic::position
G4Axis2Placement3D position
Definition:
G4Conic.hh:74
G4Conic::GetPosition
const G4Axis2Placement3D * GetPosition() const
G4Conic::pShift
G4double pShift
Definition:
G4Conic.hh:77
G4Conic::GetPShift
G4double GetPShift() const
G4Conic::G4Conic
G4Conic()
Definition:
G4Conic.cc:38
G4Conic::operator=
G4Conic & operator=(const G4Conic &right)
Definition:
G4Conic.cc:59
G4Conic::SetPShift
void SetPShift(G4double pShift0)
G4Conic::~G4Conic
virtual ~G4Conic()
Definition:
G4Conic.cc:42
G4Curve
Definition:
G4Curve.hh:59
geant4-v9.6.0
source
geometry
solids
BREPS
include
G4Conic.hh
Generated by
1.9.6