Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Ball.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/scoring/packing/PoseBalls.hh
11 /// @brief
12 /// @author
13 
14 #ifndef INCLUDED_core_scoring_packing_Ball_hh
15 #define INCLUDED_core_scoring_packing_Ball_hh
16 
17 // Project headers
18 #include <core/types.hh>
19 
20 #include <utility/pointer/ReferenceCount.hh>
21 
22 #include <numeric/xyzVector.hh>
23 
24 namespace core {
25 namespace scoring {
26 namespace packing {
27 
28 
30 
31 public:
32 
35 
36  inline core::Real const & x() const { return xyz_.x(); }
37  inline core::Real const & y() const { return xyz_.y(); }
38  inline core::Real const & z() const { return xyz_.z(); }
39  inline core::Real const & r() const { return r_; }
40  inline core::Real const & radius() const { return r_; }
41  inline numeric::xyzVector<core::Real> const & xyz() const { return xyz_; }
42 
43  inline core::Real & x() { return xyz_.x(); }
44  inline core::Real & y() { return xyz_.y(); }
45  inline core::Real & z() { return xyz_.z(); }
46  inline core::Real & r() { return r_; }
47  inline core::Real & radius() { return r_; }
48  inline numeric::xyzVector<core::Real> & xyz() { return xyz_; }
49 
50 private:
51 
54 
55 };
56 
57 } // namespace packing
58 } // namespace scoring
59 } // namespace core
60 
61 
62 #endif // INCLUDED_core_scoring_packing_Balls_HH