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

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

Remaining modules refactored

  • Property mode set to 100644
File size: 216 bytes
RevLine 
[aa639ea]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.