source: sasview/src/sas/sascalc/simulation/geoshapespy/tests/testorientation.cc @ a44b6c7

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalcmagnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since a44b6c7 was d85c194, checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago

Remaining modules refactored

  • Property mode set to 100644
File size: 216 bytes
Line 
1#include "sphere.h"
2#include <iostream>
3
4int main(){
5  Sphere sph1(10);
6  sph1.SetOrientation(10,20,30);
7  sph1.SetCenter(1,5,10);
8
9  vector<double> v1 = sph1.GetOrientation();
10  cout << v1[0] <<endl;
11
12  return 0;
13}
Note: See TracBrowser for help on using the repository browser.