source: sasview/src/sas/sascalc/simulation/geoshapespy/libgeoshapespy/geo_shape.cc @ 71ac835

Last change on this file since 71ac835 was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 533 bytes
RevLine 
[aa639ea]1#include "geo_shape.h"
2
3void GeoShape::SetOrientation(double angX,double angY, double angZ){
4  orientation_[0]=angX;
5  orientation_[1]=angY;
6  orientation_[2]=angZ;
7}
8
9void GeoShape::SetCenter(double cenX,double cenY,double cenZ){
10  center_[0]=cenX;
11  center_[1]=cenY;
12  center_[2]=cenZ;
13}
14
15vector<double> GeoShape::GetOrientation() const {
16  return orientation_;
17}
18
19vector<double> GeoShape::GetCenter() const {
20  return center_;
21}
22
23Point3D GeoShape::GetCenterP() const {
24  Point3D p(center_[0],center_[1],center_[2]);
25  return p;
26}
Note: See TracBrowser for help on using the repository browser.