Adun  0.83
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AdunSphericalBox.h
1 #ifndef _ADUN_SPHERICAL_BOX_
2 #define _ADUN_SPHERICAL_BOX_
3 
4 #include "Base/AdVector.h"
5 #include "AdunKernel/AdFrameworkFunctions.h"
6 #include "AdunKernel/AdGridDelegate.h"
8 #include "AdunKernel/AdunGrid.h"
9 
16 @interface AdSphericalBox: NSObject <AdGridDelegate, NSCoding>
17 {
18  @private
19  double sphereRadius;
20  double sphereVolume;
21  Vector3D sphereCentre;
22  NSArray* centre;
23  NSArray* sphereExtremes;
24 }
28 - (id) init;
32 - (id) initWithRadius: (double) rad;
38 - (id) initWithCavityCentre: (NSArray*) centre
39  radius: (double) radius;
47 - (void) setCavityCentre: (NSArray*) array;
51 - (double) radius;
57 - (void) setRadius: (double) value;
58 @end
59 
60 #endif