Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
core
conformation
orbitals
OrbitalXYZCoords.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file core/conformation/orbitals/OrbitalXYZCoords.hh
11
/// @brief Created on: Jun 30, 2011
12
/// @author combss
13
14
#ifndef INCLUDED_core_conformation_orbitals_ORBITALXYZCOORDS_HH
15
#define INCLUDED_core_conformation_orbitals_ORBITALXYZCOORDS_HH
16
17
// Project headers
18
#include <
core/types.hh
>
19
20
// Utility headers
21
#include <numeric/xyzVector.hh>
22
23
24
namespace
core{
25
namespace
conformation{
26
namespace
orbitals{
27
28
29
class
OrbitalXYZCoords
{
30
public
:
31
/// @brief default constructor and set atom type number to 0 and place the
32
/// atom at the origin
33
OrbitalXYZCoords
():
34
xyz_
( 0.0 ),
35
type_
(0)
36
{}
37
38
/// @brief constructor with an atom type number
39
// type is set at construction time -- atom is placed at the origin
40
OrbitalXYZCoords
(
Vector
const
& xyz_in,
ShortSize
const
&
type
):
41
xyz_
( xyz_in ),
42
type_
(type)
43
{}
44
45
46
/// @brief destructor
47
virtual
48
~OrbitalXYZCoords
() {}
49
50
51
52
Vector
const
&
53
xyz
()
const
54
{
55
return
xyz_
;
56
}
57
58
59
void
60
xyz
(
Vector
const
& xyz_in )
61
{
62
xyz_
= xyz_in;
63
}
64
65
ShortSize
const
&
66
type
()
const
67
{
68
return
type_
;
69
}
70
71
void
72
type
(
ShortSize
const
& type_in)
73
{
74
type_
= type_in;
75
}
76
77
private
:
78
/// xyz coordinates
79
Vector
xyz_
;
80
ShortSize
type_
;
81
82
83
84
85
};
86
87
88
89
90
}
91
}
92
}
93
94
95
96
97
#endif
/* ORBITALXYZCOORDS_HH_ */
Generated on Sat Jun 1 2013 11:32:25 for Rosetta 3.5 by
1.8.4