source: sasview/realSpaceModeling/geoshapespy/libgeoshapespy/geo_shape.cc @ 8742751

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since 8742751 was f2d6445, checked in by Mathieu Doucet <doucetm@…>, 17 years ago

moving realSpaceModeling to trunk

  • Property mode set to 100644
File size: 533 bytes
Line 
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.